Delen via


FaceListOperationsExtensions.DeleteFaceAsync Method

Definition

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

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

Parameters

operations
IFaceListOperations

The operations group for this extension method.

faceListId
String

Id referencing a particular face list.

persistedFaceId
Guid

Id referencing a particular persistedFaceId of an existing face.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to