Compartir a través de


CustomVisionTrainingClient.DeletePredictionWithHttpMessagesAsync Método

Definición

Elimina un conjunto de imágenes previstas y sus resultados de predicción asociados.

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

Parámetros

projectId
Guid

Identificador del proyecto.

ids
IList<Guid>

Identificadores de predicción. Limitado a 64.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Implementaciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando un parámetro obligatorio es NULL

Se produce cuando un parámetro obligatorio es NULL

Se aplica a