DocumentIntelligenceClient Constructors
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
DocumentIntelligenceClient() |
Initializes a new instance of DocumentIntelligenceClient for mocking. |
DocumentIntelligenceClient(Uri, AzureKeyCredential) |
Initializes a new instance of DocumentIntelligenceClient. |
DocumentIntelligenceClient(Uri, TokenCredential) |
Initializes a new instance of DocumentIntelligenceClient. |
DocumentIntelligenceClient(Uri, AzureKeyCredential, DocumentIntelligenceClientOptions) |
Initializes a new instance of DocumentIntelligenceClient. |
DocumentIntelligenceClient(Uri, TokenCredential, DocumentIntelligenceClientOptions) |
Initializes a new instance of DocumentIntelligenceClient. |
DocumentIntelligenceClient()
Initializes a new instance of DocumentIntelligenceClient for mocking.
protected DocumentIntelligenceClient ();
Protected Sub New ()
Applies to
DocumentIntelligenceClient(Uri, AzureKeyCredential)
Initializes a new instance of DocumentIntelligenceClient.
public DocumentIntelligenceClient (Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.AI.DocumentIntelligence.DocumentIntelligenceClient : Uri * Azure.AzureKeyCredential -> Azure.AI.DocumentIntelligence.DocumentIntelligenceClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential)
Parameters
- endpoint
- Uri
The Document Intelligence service endpoint.
- credential
- AzureKeyCredential
A credential used to authenticate to an Azure Service.
Exceptions
endpoint
or credential
is null.
Applies to
DocumentIntelligenceClient(Uri, TokenCredential)
Initializes a new instance of DocumentIntelligenceClient.
public DocumentIntelligenceClient (Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.AI.DocumentIntelligence.DocumentIntelligenceClient : Uri * Azure.Core.TokenCredential -> Azure.AI.DocumentIntelligence.DocumentIntelligenceClient
Public Sub New (endpoint As Uri, credential As TokenCredential)
Parameters
- endpoint
- Uri
The Document Intelligence service endpoint.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
Exceptions
endpoint
or credential
is null.
Applies to
DocumentIntelligenceClient(Uri, AzureKeyCredential, DocumentIntelligenceClientOptions)
Initializes a new instance of DocumentIntelligenceClient.
public DocumentIntelligenceClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.AI.DocumentIntelligence.DocumentIntelligenceClientOptions options);
new Azure.AI.DocumentIntelligence.DocumentIntelligenceClient : Uri * Azure.AzureKeyCredential * Azure.AI.DocumentIntelligence.DocumentIntelligenceClientOptions -> Azure.AI.DocumentIntelligence.DocumentIntelligenceClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, options As DocumentIntelligenceClientOptions)
Parameters
- endpoint
- Uri
The Document Intelligence service endpoint.
- credential
- AzureKeyCredential
A credential used to authenticate to an Azure Service.
The options for configuring the client.
Exceptions
endpoint
or credential
is null.
Applies to
DocumentIntelligenceClient(Uri, TokenCredential, DocumentIntelligenceClientOptions)
Initializes a new instance of DocumentIntelligenceClient.
public DocumentIntelligenceClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.DocumentIntelligence.DocumentIntelligenceClientOptions options);
new Azure.AI.DocumentIntelligence.DocumentIntelligenceClient : Uri * Azure.Core.TokenCredential * Azure.AI.DocumentIntelligence.DocumentIntelligenceClientOptions -> Azure.AI.DocumentIntelligence.DocumentIntelligenceClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As DocumentIntelligenceClientOptions)
Parameters
- endpoint
- Uri
The Document Intelligence service endpoint.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
The options for configuring the client.
Exceptions
endpoint
or credential
is null.
Applies to
Azure SDK for .NET