LargeFaceListOperationsExtensions.UpdateFaceAsync Method

Definition

Update a persisted face's userData field.

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

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.

userData
String

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to