Share via


PersonDirectory.DeletePersonFaceWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationHeaderResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryDeletePersonFaceHeaders>> DeletePersonFaceWithHttpMessagesAsync (Guid personId, string recognitionModel, Guid persistedFaceId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeletePersonFaceWithHttpMessagesAsync : Guid * string * Guid * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationHeaderResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryDeletePersonFaceHeaders>>
override this.DeletePersonFaceWithHttpMessagesAsync : Guid * string * Guid * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationHeaderResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryDeletePersonFaceHeaders>>
Public Function DeletePersonFaceWithHttpMessagesAsync (personId As Guid, recognitionModel As String, persistedFaceId As Guid, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationHeaderResponse(Of PersonDirectoryDeletePersonFaceHeaders))

Parameters

personId
Guid
recognitionModel
String
persistedFaceId
Guid
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Implements

Applies to