Condividi tramite


ConversationAuthoringClient Constructors

Definition

Overloads

ConversationAuthoringClient()

Initializes a new instance of ConversationAuthoringClient for mocking.

ConversationAuthoringClient(Uri, AzureKeyCredential)

Initializes a new instance of ConversationAuthoringClient.

ConversationAuthoringClient(Uri, TokenCredential)

Initializes a new instance of ConversationAuthoringClient.

ConversationAuthoringClient(Uri, AzureKeyCredential, ConversationsClientOptions)

Initializes a new instance of ConversationAuthoringClient.

ConversationAuthoringClient(Uri, TokenCredential, ConversationsClientOptions)

Initializes a new instance of ConversationAuthoringClient

ConversationAuthoringClient()

Source:
ConversationAuthoringClient.cs
Source:
ConversationAuthoringClient.cs

Initializes a new instance of ConversationAuthoringClient for mocking.

protected ConversationAuthoringClient ();
Protected Sub New ()

Applies to

ConversationAuthoringClient(Uri, AzureKeyCredential)

Source:
ConversationAuthoringClient.cs
Source:
ConversationAuthoringClient.cs

Initializes a new instance of ConversationAuthoringClient.

public ConversationAuthoringClient (Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient : Uri * Azure.AzureKeyCredential -> Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential)

Parameters

endpoint
Uri

Supported Cognitive Services endpoint (e.g., https://<resource-name>.cognitiveservices.azure.com).

credential
AzureKeyCredential

A credential used to authenticate to an Azure Service.

Exceptions

endpoint or credential is null.

Applies to

ConversationAuthoringClient(Uri, TokenCredential)

Source:
ConversationAuthoringClient.cs
Source:
ConversationAuthoringClient.cs

Initializes a new instance of ConversationAuthoringClient.

public ConversationAuthoringClient (Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient : Uri * Azure.Core.TokenCredential -> Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient
Public Sub New (endpoint As Uri, credential As TokenCredential)

Parameters

endpoint
Uri

Supported Cognitive Services endpoint (e.g., https://<resource-name>.cognitiveservices.azure.com).

credential
TokenCredential

A credential used to authenticate to an Azure Service.

Exceptions

endpoint or credential is null.

Applies to

ConversationAuthoringClient(Uri, AzureKeyCredential, ConversationsClientOptions)

Source:
ConversationAuthoringClient.cs
Source:
ConversationAuthoringClient.cs

Initializes a new instance of ConversationAuthoringClient.

public ConversationAuthoringClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.AI.Language.Conversations.ConversationsClientOptions options);
new Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient : Uri * Azure.AzureKeyCredential * Azure.AI.Language.Conversations.ConversationsClientOptions -> Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, options As ConversationsClientOptions)

Parameters

endpoint
Uri

Supported Cognitive Services endpoint (e.g., https://<resource-name>.cognitiveservices.azure.com).

credential
AzureKeyCredential

A credential used to authenticate to an Azure Service.

options
ConversationsClientOptions

The options for configuring the client.

Exceptions

endpoint or credential is null.

Applies to

ConversationAuthoringClient(Uri, TokenCredential, ConversationsClientOptions)

Source:
ConversationAuthoringClient.cs
Source:
ConversationAuthoringClient.cs

Initializes a new instance of ConversationAuthoringClient

public ConversationAuthoringClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.Language.Conversations.ConversationsClientOptions options);
new Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient : Uri * Azure.Core.TokenCredential * Azure.AI.Language.Conversations.ConversationsClientOptions -> Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As ConversationsClientOptions)

Parameters

endpoint
Uri

Supported Cognitive Services endpoint (e.g., https://<resource-name>.cognitiveservices.azure.com).

credential
TokenCredential

A credential used to authenticate to an Azure Service.

options
ConversationsClientOptions

The options for configuring the client.

Exceptions

endpoint or credential is null.

Applies to