Partager via


CustomVisionTrainingClient.DeletePredictionWithHttpMessagesAsync Méthode

Définition

Supprime un ensemble d’images prédites et leurs résultats de prédiction associés.

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)

Paramètres

projectId
Guid

ID de projet.

ids
IList<Guid>

ID de prédiction. Limité à 64.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la requête.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Implémente

Exceptions

Levée lorsque l’opération a retourné un code status non valide

Levée lorsqu’un paramètre requis a la valeur Null

Levée lorsqu’un paramètre requis a la valeur Null

S’applique à