DocumentAnalysisClientBuilderExtensions.AddDocumentAnalysisClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddDocumentAnalysisClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registers a DocumentAnalysisClient instance with connection options loaded from the provided |
AddDocumentAnalysisClient<TBuilder>(TBuilder, Uri, AzureKeyCredential) |
Registers a DocumentAnalysisClient instance with the provided |
AddDocumentAnalysisClient<TBuilder>(TBuilder, Uri) |
Registers a DocumentAnalysisClient instance with the provided |
AddDocumentAnalysisClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Registers a DocumentAnalysisClient instance with connection options loaded from the provided configuration
instance.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClient,Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClientOptions> AddDocumentAnalysisClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddDocumentAnalysisClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClient, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddDocumentAnalysisClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of DocumentAnalysisClient, DocumentAnalysisClientOptions)
Type Parameters
- TBuilder
- TConfiguration
Parameters
- builder
- TBuilder
- configuration
- TConfiguration
Returns
Applies to
AddDocumentAnalysisClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)
Registers a DocumentAnalysisClient instance with the provided endpoint
and credential
.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClient,Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClientOptions> AddDocumentAnalysisClient<TBuilder> (this TBuilder builder, Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddDocumentAnalysisClient : 'Builder * Uri * Azure.AzureKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClient, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddDocumentAnalysisClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, credential As AzureKeyCredential) As IAzureClientBuilder(Of DocumentAnalysisClient, DocumentAnalysisClientOptions)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
- endpoint
- Uri
- credential
- AzureKeyCredential
Returns
Applies to
AddDocumentAnalysisClient<TBuilder>(TBuilder, Uri)
Registers a DocumentAnalysisClient instance with the provided endpoint
.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClient,Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClientOptions> AddDocumentAnalysisClient<TBuilder> (this TBuilder builder, Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddDocumentAnalysisClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClient, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentAnalysisClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddDocumentAnalysisClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, endpoint As Uri) As IAzureClientBuilder(Of DocumentAnalysisClient, DocumentAnalysisClientOptions)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
- endpoint
- Uri