FaceListOperationsExtensions.DeleteAsync Method

Definition

Delete an existing face list according to faceListId. Persisted face images in the face list will also be deleted.

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to