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