FaceListOperations.DeleteFaceWithHttpMessagesAsync Método

Definição

Exclua um rosto existente de uma lista de rostos (dado por um persistedFaceId e um faceListId). A imagem persistente relacionada ao rosto também será excluída.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse> DeleteFaceWithHttpMessagesAsync (string faceListId, Guid persistedFaceId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteFaceWithHttpMessagesAsync : string * Guid * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
override this.DeleteFaceWithHttpMessagesAsync : string * Guid * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
Public Function DeleteFaceWithHttpMessagesAsync (faceListId As String, persistedFaceId As Guid, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse)

Parâmetros

faceListId
String

Id referenciando uma lista de rostos específica.

persistedFaceId
Guid

Id que faz referência a um persistedFaceId específico de um rosto existente.

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Implementações

Exceções

Gerado quando a operação retornou um código de status inválido

Gerado quando um parâmetro necessário é nulo

Gerado quando um parâmetro necessário é nulo

Aplica-se a