Udostępnij za pośrednictwem


PhoneNumbersClient Constructors

Definition

Overloads

PhoneNumbersClient()

Initializes a new instance of PhoneNumbersClient for mocking.

PhoneNumbersClient(String)

Initializes a phone numbers client with an Azure resource connection string and client options.

PhoneNumbersClient(String, PhoneNumbersClientOptions)

Initializes a phone numbers client with an Azure resource connection string and client options.

PhoneNumbersClient(Uri, AzureKeyCredential, PhoneNumbersClientOptions)

Initializes a new instance of PhoneNumbersClient.

PhoneNumbersClient(Uri, TokenCredential, PhoneNumbersClientOptions)

Initializes a phone numbers client with a token credential.

PhoneNumbersClient()

Source:
PhoneNumbersClient.cs
Source:
PhoneNumbersClient.cs

Initializes a new instance of PhoneNumbersClient for mocking.

protected PhoneNumbersClient ();
Protected Sub New ()

Applies to

PhoneNumbersClient(String)

Source:
PhoneNumbersClient.cs
Source:
PhoneNumbersClient.cs

Initializes a phone numbers client with an Azure resource connection string and client options.

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

Parameters

connectionString
String

Applies to

PhoneNumbersClient(String, PhoneNumbersClientOptions)

Source:
PhoneNumbersClient.cs
Source:
PhoneNumbersClient.cs

Initializes a phone numbers client with an Azure resource connection string and client options.

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

Parameters

connectionString
String

Applies to

PhoneNumbersClient(Uri, AzureKeyCredential, PhoneNumbersClientOptions)

Source:
PhoneNumbersClient.cs
Source:
PhoneNumbersClient.cs

Initializes a new instance of PhoneNumbersClient.

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

Parameters

endpoint
Uri

The URI of the Azure Communication Services resource.

keyCredential
AzureKeyCredential

The AzureKeyCredential used to authenticate requests.

options
PhoneNumbersClientOptions

Client option exposing Diagnostics, Retry, Transport, etc.

Applies to

PhoneNumbersClient(Uri, TokenCredential, PhoneNumbersClientOptions)

Source:
PhoneNumbersClient.cs
Source:
PhoneNumbersClient.cs

Initializes a phone numbers client with a token credential.

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

Parameters

endpoint
Uri
tokenCredential
TokenCredential

Applies to