Share via


LargeFaceListOperationsExtensions.DeleteFaceAsync Method

Definition

Delete an existing face from a large face list (given by a persistedFaceId and a largeFaceListId). Persisted image related to the face will also be deleted.

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to