Compartilhar via


CustomVisionTrainingClientExtensions.QueryPredictionsAsync Método

Definição

Obter imagens enviadas ao ponto de extremidade de previsão.

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.PredictionQueryResult> QueryPredictionsAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.PredictionQueryToken query, System.Threading.CancellationToken cancellationToken = default);
static member QueryPredictionsAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.PredictionQueryToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.PredictionQueryResult>
<Extension()>
Public Function QueryPredictionsAsync (operations As ICustomVisionTrainingClient, projectId As Guid, query As PredictionQueryToken, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PredictionQueryResult)

Parâmetros

operations
ICustomVisionTrainingClient

O grupo de operações para esse método de extensão.

projectId
Guid

A ID do projeto.

query
PredictionQueryToken

Parâmetros usados para consultar as previsões. Limitado à combinação de duas marcas.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a