ConversationAnalysisClient 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
ConversationAnalysisClient() |
Initializes a new instance of ConversationAnalysisClient for mocking. |
ConversationAnalysisClient(Uri, AzureKeyCredential) |
Initializes a new instance of ConversationAnalysisClient. |
ConversationAnalysisClient(Uri, TokenCredential) |
Initializes a new instance of ConversationAnalysisClient. |
ConversationAnalysisClient(Uri, AzureKeyCredential, ConversationsClientOptions) |
Initializes a new instance of ConversationAnalysisClient. |
ConversationAnalysisClient(Uri, TokenCredential, ConversationsClientOptions) |
Initializes a new instance of ConversationAnalysisClient. |
ConversationAnalysisClient()
Initializes a new instance of ConversationAnalysisClient for mocking.
protected ConversationAnalysisClient ();
Protected Sub New ()
Applies to
ConversationAnalysisClient(Uri, AzureKeyCredential)
Initializes a new instance of ConversationAnalysisClient.
public ConversationAnalysisClient (Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.AI.Language.Conversations.ConversationAnalysisClient : Uri * Azure.AzureKeyCredential -> Azure.AI.Language.Conversations.ConversationAnalysisClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential)
Parameters
- endpoint
- Uri
Supported Cognitive Services endpoint (e.g., https://<resource-name>.api.cognitiveservices.azure.com).
- credential
- AzureKeyCredential
A credential used to authenticate to an Azure Service.
Exceptions
endpoint
or credential
is null.
Applies to
ConversationAnalysisClient(Uri, TokenCredential)
Initializes a new instance of ConversationAnalysisClient.
public ConversationAnalysisClient (Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.AI.Language.Conversations.ConversationAnalysisClient : Uri * Azure.Core.TokenCredential -> Azure.AI.Language.Conversations.ConversationAnalysisClient
Public Sub New (endpoint As Uri, credential As TokenCredential)
Parameters
- endpoint
- Uri
Supported Cognitive Services endpoint (e.g., https://<resource-name>.api.cognitiveservices.azure.com).
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
Exceptions
endpoint
or credential
is null.
Applies to
ConversationAnalysisClient(Uri, AzureKeyCredential, ConversationsClientOptions)
Initializes a new instance of ConversationAnalysisClient.
public ConversationAnalysisClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.AI.Language.Conversations.ConversationsClientOptions options);
new Azure.AI.Language.Conversations.ConversationAnalysisClient : Uri * Azure.AzureKeyCredential * Azure.AI.Language.Conversations.ConversationsClientOptions -> Azure.AI.Language.Conversations.ConversationAnalysisClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, options As ConversationsClientOptions)
Parameters
- endpoint
- Uri
Supported Cognitive Services endpoint (e.g., https://<resource-name>.api.cognitiveservices.azure.com).
- credential
- AzureKeyCredential
A credential used to authenticate to an Azure Service.
- options
- ConversationsClientOptions
The options for configuring the client.
Exceptions
endpoint
or credential
is null.
Applies to
ConversationAnalysisClient(Uri, TokenCredential, ConversationsClientOptions)
Initializes a new instance of ConversationAnalysisClient.
public ConversationAnalysisClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.Language.Conversations.ConversationsClientOptions options);
new Azure.AI.Language.Conversations.ConversationAnalysisClient : Uri * Azure.Core.TokenCredential * Azure.AI.Language.Conversations.ConversationsClientOptions -> Azure.AI.Language.Conversations.ConversationAnalysisClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As ConversationsClientOptions)
Parameters
- endpoint
- Uri
Supported Cognitive Services endpoint (e.g., https://<resource-name>.cognitiveservices.azure.com).
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
- options
- ConversationsClientOptions
The options for configuring the client.
Exceptions
endpoint
or credential
is null.
Applies to
Azure SDK for .NET