共用方式為


ConversationAnalysisClientExtensions.AddConversationAuthoringClient Method

Definition

Overloads

AddConversationAuthoringClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Obsolete.

Registers a ConversationAuthoringClient instance.

AddConversationAuthoringClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)
Obsolete.

Registers a ConversationAuthoringClient instance.

AddConversationAuthoringClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
ConversationAnalysisClientExtensions.cs
Source:
ConversationAnalysisClientExtensions.cs

Caution

This method is obsolete and will be removed in a future release.

Registers a ConversationAuthoringClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient,Azure.AI.Language.Conversations.ConversationsClientOptions> AddConversationAuthoringClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
[System.Obsolete("This method is obsolete and will be removed in a future release.", true)]
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient,Azure.AI.Language.Conversations.ConversationsClientOptions> AddConversationAuthoringClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddConversationAuthoringClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient, Azure.AI.Language.Conversations.ConversationsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
[<System.Obsolete("This method is obsolete and will be removed in a future release.", true)>]
static member AddConversationAuthoringClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient, Azure.AI.Language.Conversations.ConversationsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddConversationAuthoringClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of ConversationAuthoringClient, ConversationsClientOptions)

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder

The builder to register with.

configuration
TConfiguration

The configuration values.

Returns

Attributes

Applies to

AddConversationAuthoringClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Source:
ConversationAnalysisClientExtensions.cs
Source:
ConversationAnalysisClientExtensions.cs

Caution

This method is obsolete and will be removed in a future release.

Registers a ConversationAuthoringClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient,Azure.AI.Language.Conversations.ConversationsClientOptions> AddConversationAuthoringClient<TBuilder> (this TBuilder builder, Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
[System.Obsolete("This method is obsolete and will be removed in a future release.", true)]
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient,Azure.AI.Language.Conversations.ConversationsClientOptions> AddConversationAuthoringClient<TBuilder> (this TBuilder builder, Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddConversationAuthoringClient : 'Builder * Uri * Azure.AzureKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient, Azure.AI.Language.Conversations.ConversationsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
[<System.Obsolete("This method is obsolete and will be removed in a future release.", true)>]
static member AddConversationAuthoringClient : 'Builder * Uri * Azure.AzureKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringClient, Azure.AI.Language.Conversations.ConversationsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddConversationAuthoringClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, credential As AzureKeyCredential) As IAzureClientBuilder(Of ConversationAuthoringClient, ConversationsClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder

The builder to register with.

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.

Returns

An Azure client builder for Conversation Authoring Client.

Attributes

Applies to