Share via


SipRoutingClient Constructors

Definition

Overloads

SipRoutingClient()

Initializes a new instance of SipRoutingClient for mocking.

SipRoutingClient(String)

Initializes a new instance of SipRoutingClient with an Azure resource connection string.

SipRoutingClient(String, SipRoutingClientOptions)

Initializes a new instance of SipRoutingClient with an Azure resource connection string and client options.

SipRoutingClient(Uri, AzureKeyCredential, SipRoutingClientOptions)

Initializes a new instance of SipRoutingClient.

SipRoutingClient(Uri, TokenCredential, SipRoutingClientOptions)

Initializes a new instance of SipRoutingClient with a token credential.

SipRoutingClient()

Source:
SipRoutingClient.cs
Source:
SipRoutingClient.cs

Initializes a new instance of SipRoutingClient for mocking.

protected SipRoutingClient ();
Protected Sub New ()

Applies to

SipRoutingClient(String)

Source:
SipRoutingClient.cs
Source:
SipRoutingClient.cs

Initializes a new instance of SipRoutingClient with an Azure resource connection string.

public SipRoutingClient (string connectionString);
new Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClient : string -> Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClient
Public Sub New (connectionString As String)

Parameters

connectionString
String

Applies to

SipRoutingClient(String, SipRoutingClientOptions)

Source:
SipRoutingClient.cs
Source:
SipRoutingClient.cs

Initializes a new instance of SipRoutingClient with an Azure resource connection string and client options.

public SipRoutingClient (string connectionString, Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClientOptions options);
new Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClient : string * Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClientOptions -> Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClient
Public Sub New (connectionString As String, options As SipRoutingClientOptions)

Parameters

connectionString
String

Applies to

SipRoutingClient(Uri, AzureKeyCredential, SipRoutingClientOptions)

Source:
SipRoutingClient.cs
Source:
SipRoutingClient.cs

Initializes a new instance of SipRoutingClient.

public SipRoutingClient (Uri endpoint, Azure.AzureKeyCredential keyCredential, Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClientOptions options = default);
new Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClient : Uri * Azure.AzureKeyCredential * Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClientOptions -> Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClient
Public Sub New (endpoint As Uri, keyCredential As AzureKeyCredential, Optional options As SipRoutingClientOptions = Nothing)

Parameters

endpoint
Uri

The URI of the Azure Communication Services resource.

keyCredential
AzureKeyCredential

The AzureKeyCredential used to authenticate requests.

options
SipRoutingClientOptions

Client option exposing Diagnostics, Retry, Transport, etc.

Applies to

SipRoutingClient(Uri, TokenCredential, SipRoutingClientOptions)

Source:
SipRoutingClient.cs
Source:
SipRoutingClient.cs

Initializes a new instance of SipRoutingClient with a token credential.

public SipRoutingClient (Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClientOptions options = default);
new Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClient : Uri * Azure.Core.TokenCredential * Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClientOptions -> Azure.Communication.PhoneNumbers.SipRouting.SipRoutingClient
Public Sub New (endpoint As Uri, tokenCredential As TokenCredential, Optional options As SipRoutingClientOptions = Nothing)

Parameters

endpoint
Uri
tokenCredential
TokenCredential

Applies to