Share via


CallAutomationClient Constructors

Definition

Overloads

CallAutomationClient()

Initializes a new instance of CallAutomationClient for mocking.

CallAutomationClient(String)

Initializes a new instance of CallAutomationClient.

CallAutomationClient(String, CallAutomationClientOptions)

Initializes a new instance of CallAutomationClient.

CallAutomationClient(Uri, TokenCredential, CallAutomationClientOptions)

Initializes a new instance of CallAutomationClient.

CallAutomationClient()

Source:
CallAutomationClient.cs
Source:
CallAutomationClient.cs

Initializes a new instance of CallAutomationClient for mocking.

protected CallAutomationClient ();
Protected Sub New ()

Applies to

CallAutomationClient(String)

Source:
CallAutomationClient.cs
Source:
CallAutomationClient.cs

Initializes a new instance of CallAutomationClient.

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

Parameters

connectionString
String

Connection string acquired from the Azure Communication Services resource.

Applies to

CallAutomationClient(String, CallAutomationClientOptions)

Source:
CallAutomationClient.cs
Source:
CallAutomationClient.cs

Initializes a new instance of CallAutomationClient.

public CallAutomationClient (string connectionString, Azure.Communication.CallAutomation.CallAutomationClientOptions options);
new Azure.Communication.CallAutomation.CallAutomationClient : string * Azure.Communication.CallAutomation.CallAutomationClientOptions -> Azure.Communication.CallAutomation.CallAutomationClient
Public Sub New (connectionString As String, options As CallAutomationClientOptions)

Parameters

connectionString
String

Connection string acquired from the Azure Communication Services resource.

options
CallAutomationClientOptions

Client option exposing Diagnostics, Retry, Transport, etc.

Applies to

CallAutomationClient(Uri, TokenCredential, CallAutomationClientOptions)

Source:
CallAutomationClient.cs
Source:
CallAutomationClient.cs

Initializes a new instance of CallAutomationClient.

public CallAutomationClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.Communication.CallAutomation.CallAutomationClientOptions options = default);
new Azure.Communication.CallAutomation.CallAutomationClient : Uri * Azure.Core.TokenCredential * Azure.Communication.CallAutomation.CallAutomationClientOptions -> Azure.Communication.CallAutomation.CallAutomationClient
Public Sub New (endpoint As Uri, credential As TokenCredential, Optional options As CallAutomationClientOptions = Nothing)

Parameters

endpoint
Uri

The URI of the Azure Communication Services resource.

credential
TokenCredential

The TokenCredential used to authenticate requests, such as DefaultAzureCredential.

options
CallAutomationClientOptions

Client option exposing Diagnostics, Retry, Transport, etc.

Applies to