Share via


TextAnalyticsClientBuilderExtensions.AddTextAnalyticsClient Method

Definition

Overloads

AddTextAnalyticsClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a TextAnalyticsClient instance with connection options loaded from the provided configuration instance.

AddTextAnalyticsClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Registers a TextAnalyticsClient instance with the provided endpoint and credential.

AddTextAnalyticsClient<TBuilder>(TBuilder, Uri)

Registers a TextAnalyticsClient instance with the provided endpoint.

AddTextAnalyticsClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
TextAnalyticsClientBuilderExtensions.cs

Registers a TextAnalyticsClient instance with connection options loaded from the provided configuration instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.TextAnalytics.TextAnalyticsClient,Azure.AI.TextAnalytics.TextAnalyticsClientOptions> AddTextAnalyticsClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddTextAnalyticsClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.TextAnalytics.TextAnalyticsClient, Azure.AI.TextAnalytics.TextAnalyticsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddTextAnalyticsClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of TextAnalyticsClient, TextAnalyticsClientOptions)

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder
configuration
TConfiguration

Returns

Applies to

AddTextAnalyticsClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Source:
TextAnalyticsClientBuilderExtensions.cs

Registers a TextAnalyticsClient instance with the provided endpoint and credential.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.TextAnalytics.TextAnalyticsClient,Azure.AI.TextAnalytics.TextAnalyticsClientOptions> AddTextAnalyticsClient<TBuilder> (this TBuilder builder, Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddTextAnalyticsClient : 'Builder * Uri * Azure.AzureKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.TextAnalytics.TextAnalyticsClient, Azure.AI.TextAnalytics.TextAnalyticsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddTextAnalyticsClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, credential As AzureKeyCredential) As IAzureClientBuilder(Of TextAnalyticsClient, TextAnalyticsClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder
endpoint
Uri
credential
AzureKeyCredential

Returns

Applies to

AddTextAnalyticsClient<TBuilder>(TBuilder, Uri)

Source:
TextAnalyticsClientBuilderExtensions.cs

Registers a TextAnalyticsClient instance with the provided endpoint.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.TextAnalytics.TextAnalyticsClient,Azure.AI.TextAnalytics.TextAnalyticsClientOptions> AddTextAnalyticsClient<TBuilder> (this TBuilder builder, Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddTextAnalyticsClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.TextAnalytics.TextAnalyticsClient, Azure.AI.TextAnalytics.TextAnalyticsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddTextAnalyticsClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, endpoint As Uri) As IAzureClientBuilder(Of TextAnalyticsClient, TextAnalyticsClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder
endpoint
Uri

Returns

Applies to