PersonGroupPersonExtensions.UpdateAsync Method

Definition

Update name or userData of a person.

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

name
String

User defined name, maximum length is 128.

userData
String

User specified data. Length should not exceed 16KB.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to