Delen via


PersonGroupPersonExtensions.DeleteFaceAsync Method

Definition

Delete a face from a person. Relative feature for the persisted face will also be deleted.

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to