LargeFaceListOperationsExtensions.GetFaceAsync Method

Definition

Retrieve information about a persisted face (specified by persistedFaceId and its belonging largeFaceListId).

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace> GetFaceAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.ILargeFaceListOperations operations, string largeFaceListId, Guid persistedFaceId, System.Threading.CancellationToken cancellationToken = default);
static member GetFaceAsync : Microsoft.Azure.CognitiveServices.Vision.Face.ILargeFaceListOperations * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace>
<Extension()>
Public Function GetFaceAsync (operations As ILargeFaceListOperations, largeFaceListId As String, persistedFaceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersistedFace)

Parameters

operations
ILargeFaceListOperations

The operations group for this extension method.

largeFaceListId
String

Id referencing a particular large face list.

persistedFaceId
Guid

Id referencing a particular persistedFaceId of an existing face.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to