ImageAnalysisClient 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
ImageAnalysisClient() |
Initializes a new instance of ImageAnalysisClient for mocking. |
ImageAnalysisClient(Uri, AzureKeyCredential) |
Initializes a new instance of ImageAnalysisClient. |
ImageAnalysisClient(Uri, TokenCredential) |
Initializes a new instance of ImageAnalysisClient. |
ImageAnalysisClient(Uri, AzureKeyCredential, ImageAnalysisClientOptions) |
Initializes a new instance of ImageAnalysisClient. |
ImageAnalysisClient(Uri, TokenCredential, ImageAnalysisClientOptions) |
Initializes a new instance of ImageAnalysisClient. |
ImageAnalysisClient()
- Source:
- ImageAnalysisClient.cs
- Source:
- ImageAnalysisClient.cs
Initializes a new instance of ImageAnalysisClient for mocking.
protected ImageAnalysisClient ();
Protected Sub New ()
Applies to
ImageAnalysisClient(Uri, AzureKeyCredential)
- Source:
- ImageAnalysisClient.cs
- Source:
- ImageAnalysisClient.cs
Initializes a new instance of ImageAnalysisClient.
public ImageAnalysisClient (Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.AI.Vision.ImageAnalysis.ImageAnalysisClient : Uri * Azure.AzureKeyCredential -> Azure.AI.Vision.ImageAnalysis.ImageAnalysisClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential)
Parameters
- endpoint
- Uri
Azure AI Computer Vision endpoint (protocol and hostname, for example: https://<resource-name>.cognitiveservices.azure.com).
- credential
- AzureKeyCredential
A credential used to authenticate to an Azure Service.
Exceptions
endpoint
or credential
is null.
Applies to
ImageAnalysisClient(Uri, TokenCredential)
- Source:
- ImageAnalysisClient.cs
- Source:
- ImageAnalysisClient.cs
Initializes a new instance of ImageAnalysisClient.
public ImageAnalysisClient (Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.AI.Vision.ImageAnalysis.ImageAnalysisClient : Uri * Azure.Core.TokenCredential -> Azure.AI.Vision.ImageAnalysis.ImageAnalysisClient
Public Sub New (endpoint As Uri, credential As TokenCredential)
Parameters
- endpoint
- Uri
Azure AI Computer Vision endpoint (protocol and hostname, for example: https://<resource-name>.cognitiveservices.azure.com).
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
Exceptions
endpoint
or credential
is null.
Applies to
ImageAnalysisClient(Uri, AzureKeyCredential, ImageAnalysisClientOptions)
- Source:
- ImageAnalysisClient.cs
- Source:
- ImageAnalysisClient.cs
Initializes a new instance of ImageAnalysisClient.
public ImageAnalysisClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.AI.Vision.ImageAnalysis.ImageAnalysisClientOptions options);
new Azure.AI.Vision.ImageAnalysis.ImageAnalysisClient : Uri * Azure.AzureKeyCredential * Azure.AI.Vision.ImageAnalysis.ImageAnalysisClientOptions -> Azure.AI.Vision.ImageAnalysis.ImageAnalysisClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, options As ImageAnalysisClientOptions)
Parameters
- endpoint
- Uri
Azure AI Computer Vision endpoint (protocol and hostname, for example: https://<resource-name>.cognitiveservices.azure.com).
- credential
- AzureKeyCredential
A credential used to authenticate to an Azure Service.
- options
- ImageAnalysisClientOptions
The options for configuring the client.
Exceptions
endpoint
or credential
is null.
Applies to
ImageAnalysisClient(Uri, TokenCredential, ImageAnalysisClientOptions)
- Source:
- ImageAnalysisClient.cs
- Source:
- ImageAnalysisClient.cs
Initializes a new instance of ImageAnalysisClient.
public ImageAnalysisClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.Vision.ImageAnalysis.ImageAnalysisClientOptions options);
new Azure.AI.Vision.ImageAnalysis.ImageAnalysisClient : Uri * Azure.Core.TokenCredential * Azure.AI.Vision.ImageAnalysis.ImageAnalysisClientOptions -> Azure.AI.Vision.ImageAnalysis.ImageAnalysisClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As ImageAnalysisClientOptions)
Parameters
- endpoint
- Uri
Azure AI Computer Vision endpoint (protocol and hostname, for example: https://<resource-name>.cognitiveservices.azure.com).
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
- options
- ImageAnalysisClientOptions
The options for configuring the client.
Exceptions
endpoint
or credential
is null.
Applies to
Azure SDK for .NET