SmsClient 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
SmsClient() |
Initializes a new instance of SmsClient for mocking. |
SmsClient(String) |
Initializes a new instance of SmsClient. |
SmsClient(String, SmsClientOptions) |
Initializes a new instance of SmsClient. |
SmsClient(Uri, AzureKeyCredential, SmsClientOptions) |
Initializes a new instance of SmsClient. |
SmsClient(Uri, TokenCredential, SmsClientOptions) |
Initializes a new instance of SmsClient. |
SmsClient()
- Source:
- SmsClient.cs
- Source:
- SmsClient.cs
Initializes a new instance of SmsClient for mocking.
protected SmsClient ();
Protected Sub New ()
Applies to
SmsClient(String)
- Source:
- SmsClient.cs
- Source:
- SmsClient.cs
Initializes a new instance of SmsClient.
public SmsClient (string connectionString);
new Azure.Communication.Sms.SmsClient : string -> Azure.Communication.Sms.SmsClient
Public Sub New (connectionString As String)
Parameters
- connectionString
- String
Connection string acquired from the Azure Communication Services resource.
Applies to
SmsClient(String, SmsClientOptions)
- Source:
- SmsClient.cs
- Source:
- SmsClient.cs
Initializes a new instance of SmsClient.
public SmsClient (string connectionString, Azure.Communication.Sms.SmsClientOptions options);
new Azure.Communication.Sms.SmsClient : string * Azure.Communication.Sms.SmsClientOptions -> Azure.Communication.Sms.SmsClient
Public Sub New (connectionString As String, options As SmsClientOptions)
Parameters
- connectionString
- String
Connection string acquired from the Azure Communication Services resource.
- options
- SmsClientOptions
Client option exposing Diagnostics, Retry, Transport, etc.
Applies to
SmsClient(Uri, AzureKeyCredential, SmsClientOptions)
- Source:
- SmsClient.cs
- Source:
- SmsClient.cs
Initializes a new instance of SmsClient.
public SmsClient (Uri endpoint, Azure.AzureKeyCredential keyCredential, Azure.Communication.Sms.SmsClientOptions options = default);
new Azure.Communication.Sms.SmsClient : Uri * Azure.AzureKeyCredential * Azure.Communication.Sms.SmsClientOptions -> Azure.Communication.Sms.SmsClient
Public Sub New (endpoint As Uri, keyCredential As AzureKeyCredential, Optional options As SmsClientOptions = Nothing)
Parameters
- endpoint
- Uri
The URI of the Azure Communication Services resource.
- keyCredential
- AzureKeyCredential
The AzureKeyCredential used to authenticate requests.
- options
- SmsClientOptions
Client option exposing Diagnostics, Retry, Transport, etc.
Applies to
SmsClient(Uri, TokenCredential, SmsClientOptions)
- Source:
- SmsClient.cs
- Source:
- SmsClient.cs
Initializes a new instance of SmsClient.
public SmsClient (Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.Communication.Sms.SmsClientOptions options = default);
new Azure.Communication.Sms.SmsClient : Uri * Azure.Core.TokenCredential * Azure.Communication.Sms.SmsClientOptions -> Azure.Communication.Sms.SmsClient
Public Sub New (endpoint As Uri, tokenCredential As TokenCredential, Optional options As SmsClientOptions = Nothing)
Parameters
- endpoint
- Uri
The URI of the Azure Communication Services resource.
- tokenCredential
- TokenCredential
The TokenCredential used to authenticate requests, such as DefaultAzureCredential.
- options
- SmsClientOptions
Client option exposing Diagnostics, Retry, Transport, etc.
Applies to
Azure SDK for .NET