PersonGroupPersonExtensions.GetFaceAsync(IPersonGroupPerson, String, Guid, Guid, CancellationToken) Method

Definition

Retrieve information about a persisted face (specified by persistedFaceId, personId and its belonging personGroupId).

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

Parameters

operations
IPersonGroupPerson

The operations group for this extension method.

personGroupId
String

Id referencing a particular person group.

personId
Guid

Id referencing a particular person.

persistedFaceId
Guid

Id referencing a particular persistedFaceId of an existing face.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<PersistedFace>

Applies to