Share via


VoiceLiveClient Constructors

Definition

Overloads

Name Description
VoiceLiveClient()

Initializes a new instance of VoiceLiveClient for mocking.

VoiceLiveClient(Uri, AzureKeyCredential)

Initializes a new instance of VoiceLiveClient.

VoiceLiveClient(Uri, TokenCredential)

Initializes a new instance of VoiceLiveClient.

VoiceLiveClient(Uri, AzureKeyCredential, VoiceLiveClientOptions)

Initializes a new instance of VoiceLiveClient.

VoiceLiveClient(Uri, TokenCredential, VoiceLiveClientOptions)

Initializes a new instance of VoiceLiveClient.

VoiceLiveClient()

Source:
VoiceLiveClient.core.cs
Source:
VoiceLiveClient.core.cs

Initializes a new instance of VoiceLiveClient for mocking.

protected VoiceLiveClient();
Protected Sub New ()

Applies to

VoiceLiveClient(Uri, AzureKeyCredential)

Source:
VoiceLiveClient.core.cs
Source:
VoiceLiveClient.core.cs

Initializes a new instance of VoiceLiveClient.

public VoiceLiveClient(Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.AI.VoiceLive.VoiceLiveClient : Uri * Azure.AzureKeyCredential -> Azure.AI.VoiceLive.VoiceLiveClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential)

Parameters

endpoint
Uri

Service endpoint.

credential
AzureKeyCredential

A credential used to authenticate to the service.

Exceptions

endpoint or credential is null.

Applies to

VoiceLiveClient(Uri, TokenCredential)

Source:
VoiceLiveClient.core.cs
Source:
VoiceLiveClient.core.cs

Initializes a new instance of VoiceLiveClient.

public VoiceLiveClient(Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.AI.VoiceLive.VoiceLiveClient : Uri * Azure.Core.TokenCredential -> Azure.AI.VoiceLive.VoiceLiveClient
Public Sub New (endpoint As Uri, credential As TokenCredential)

Parameters

endpoint
Uri

Service endpoint.

credential
TokenCredential

A credential used to authenticate to the service.

Exceptions

endpoint or credential is null.

Applies to

VoiceLiveClient(Uri, AzureKeyCredential, VoiceLiveClientOptions)

Source:
VoiceLiveClient.Overrides.cs
Source:
VoiceLiveClient.Overrides.cs

Initializes a new instance of VoiceLiveClient.

public VoiceLiveClient(Uri endpoint, Azure.AzureKeyCredential credential, Azure.AI.VoiceLive.VoiceLiveClientOptions options);
new Azure.AI.VoiceLive.VoiceLiveClient : Uri * Azure.AzureKeyCredential * Azure.AI.VoiceLive.VoiceLiveClientOptions -> Azure.AI.VoiceLive.VoiceLiveClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, options As VoiceLiveClientOptions)

Parameters

endpoint
Uri

Service endpoint.

credential
AzureKeyCredential

A credential used to authenticate to the service.

options
VoiceLiveClientOptions

The options for configuring the client.

Exceptions

endpoint or credential is null.

Applies to

VoiceLiveClient(Uri, TokenCredential, VoiceLiveClientOptions)

Source:
VoiceLiveClient.Overrides.cs
Source:
VoiceLiveClient.Overrides.cs

Initializes a new instance of VoiceLiveClient.

public VoiceLiveClient(Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.VoiceLive.VoiceLiveClientOptions options);
new Azure.AI.VoiceLive.VoiceLiveClient : Uri * Azure.Core.TokenCredential * Azure.AI.VoiceLive.VoiceLiveClientOptions -> Azure.AI.VoiceLive.VoiceLiveClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As VoiceLiveClientOptions)

Parameters

endpoint
Uri

Service endpoint.

credential
TokenCredential

A credential used to authenticate to the service.

options
VoiceLiveClientOptions

The options for configuring the client.

Exceptions

endpoint or credential is null.

Applies to