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

Definition

Update a person persisted face's userData field.

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

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.

userData
String

User-provided data attached to the face. The size limit is 1KB.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task

Applies to