你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConversationAuthoringClient 构造函数

定义

重载

ConversationAuthoringClient()

初始化 ConversationAuthoringClient 的新实例以进行模拟。

ConversationAuthoringClient(Uri, AzureKeyCredential)

初始化 ConversationAuthoringClient 的新实例。

ConversationAuthoringClient(Uri, TokenCredential)

初始化 ConversationAnalysisClient 的新实例。

ConversationAuthoringClient(Uri, AzureKeyCredential, ConversationsClientOptions)

初始化 ConversationAuthoringClient 的新实例。

ConversationAuthoringClient(Uri, TokenCredential, ConversationsClientOptions)

初始化 ConversationAnalysisClient 的新实例。

ConversationAuthoringClient()

Source:
ConversationAuthoringClient.cs

初始化 ConversationAuthoringClient 的新实例以进行模拟。

protected ConversationAuthoringClient ();
Protected Sub New ()

适用于

ConversationAuthoringClient(Uri, AzureKeyCredential)

Source:
ConversationAuthoringClient.cs

初始化 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)

参数

endpoint
Uri

支持的认知服务终结点 (例如 https://< resource-name.cognitiveservices.azure.com) >。

credential
AzureKeyCredential

用于向 Azure 服务进行身份验证的凭据。

例外

endpointcredential 为 null。

适用于

ConversationAuthoringClient(Uri, TokenCredential)

Source:
ConversationAuthoringClient.cs

初始化 ConversationAnalysisClient 的新实例。

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)

参数

endpoint
Uri

支持的认知服务终结点 (例如 https://< resource-name.cognitiveservices.azure.com) >。

credential
TokenCredential

用于向 Azure 服务进行身份验证的凭据。

例外

endpointcredential 为 null。

适用于

ConversationAuthoringClient(Uri, AzureKeyCredential, ConversationsClientOptions)

Source:
ConversationAuthoringClient.cs

初始化 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)

参数

endpoint
Uri

支持的认知服务终结点 (例如 https://< resource-name.cognitiveservices.azure.com) >。

credential
AzureKeyCredential

用于向 Azure 服务进行身份验证的凭据。

options
ConversationsClientOptions

用于配置客户端的选项。

例外

endpointcredential 为 null。

适用于

ConversationAuthoringClient(Uri, TokenCredential, ConversationsClientOptions)

Source:
ConversationAuthoringClient.cs

初始化 ConversationAnalysisClient 的新实例。

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)

参数

endpoint
Uri

支持的认知服务终结点 (例如 https://< resource-name.cognitiveservices.azure.com) >。

credential
TokenCredential

用于向 Azure 服务进行身份验证的凭据。

options
ConversationsClientOptions

用于配置客户端的选项。

例外

endpointcredential 为 null。

适用于