Delen via


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

Parameters

operations
ILargePersonGroupPerson

The operations group for this extension method.

largePersonGroupId
String

Id referencing a particular large 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