FaceSessionClient 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
FaceSessionClient() |
Initializes a new instance of FaceSessionClient for mocking. |
FaceSessionClient(Uri, AzureKeyCredential) |
Initializes a new instance of FaceSessionClient. |
FaceSessionClient(Uri, TokenCredential) |
Initializes a new instance of FaceSessionClient. |
FaceSessionClient(Uri, AzureKeyCredential, AzureAIVisionFaceClientOptions) |
Initializes a new instance of FaceSessionClient. |
FaceSessionClient(Uri, TokenCredential, AzureAIVisionFaceClientOptions) |
Initializes a new instance of FaceSessionClient. |
FaceSessionClient()
- Source:
- FaceSessionClient.cs
Initializes a new instance of FaceSessionClient for mocking.
protected FaceSessionClient ();
Protected Sub New ()
Applies to
FaceSessionClient(Uri, AzureKeyCredential)
- Source:
- FaceSessionClient.cs
Initializes a new instance of FaceSessionClient.
public FaceSessionClient (Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.AI.Vision.Face.FaceSessionClient : Uri * Azure.AzureKeyCredential -> Azure.AI.Vision.Face.FaceSessionClient
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
FaceSessionClient(Uri, TokenCredential)
- Source:
- FaceSessionClient.cs
Initializes a new instance of FaceSessionClient.
public FaceSessionClient (Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.AI.Vision.Face.FaceSessionClient : Uri * Azure.Core.TokenCredential -> Azure.AI.Vision.Face.FaceSessionClient
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
FaceSessionClient(Uri, AzureKeyCredential, AzureAIVisionFaceClientOptions)
- Source:
- FaceSessionClient.cs
Initializes a new instance of FaceSessionClient.
public FaceSessionClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.AI.Vision.Face.AzureAIVisionFaceClientOptions options);
new Azure.AI.Vision.Face.FaceSessionClient : Uri * Azure.AzureKeyCredential * Azure.AI.Vision.Face.AzureAIVisionFaceClientOptions -> Azure.AI.Vision.Face.FaceSessionClient
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
FaceSessionClient(Uri, TokenCredential, AzureAIVisionFaceClientOptions)
- Source:
- FaceSessionClient.cs
Initializes a new instance of FaceSessionClient.
public FaceSessionClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.Vision.Face.AzureAIVisionFaceClientOptions options);
new Azure.AI.Vision.Face.FaceSessionClient : Uri * Azure.Core.TokenCredential * Azure.AI.Vision.Face.AzureAIVisionFaceClientOptions -> Azure.AI.Vision.Face.FaceSessionClient
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