SmsMessage Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SmsMessage() |
Creates a new instance of SmsMessage |
SmsMessage(String, IEnumerable<String>) |
Creates a new instance of SmsMessage |
SmsMessage(String, String) |
Creates a new instance of SmsMessage |
SmsMessage()
Creates a new instance of SmsMessage
public SmsMessage ();
Applies to
SmsMessage(String, IEnumerable<String>)
Creates a new instance of SmsMessage
public SmsMessage (string body, System.Collections.Generic.IEnumerable<string> recipients);
Parameters
- body
- System.String
Content of the message
- recipients
- System.Collections.Generic.IEnumerable<System.String>
Recipients to receive the message.
Applies to
SmsMessage(String, String)
Creates a new instance of SmsMessage
public SmsMessage (string body, string recipient);
Parameters
- body
- System.String
Content of the message
- recipient
- System.String
Recipient to receive the message.