SipRoutingClient 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
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
- options
- SipRoutingClientOptions
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
- options
- SipRoutingClientOptions
Applies to
Azure SDK for .NET