MessagingConnectOptions(String, String) Constructor
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.
Initializes a new instance of MessagingConnectOptions.
public MessagingConnectOptions(string apiKey, string partner);
new Azure.Communication.Sms.MessagingConnectOptions : string * string -> Azure.Communication.Sms.MessagingConnectOptions
Public Sub New (apiKey As String, partner As String)
Parameters
- apiKey
- String
Represents the API key associated with the customer's account in the Messaging Connect Partner portal.
- partner
- String
Specifies the partner associated with the API key.
Exceptions
apiKey or partner is null.