Udostępnij za pośrednictwem


CustomVisionTrainingClientExtensions.QueryPredictionsWithHttpMessages Method

Definition

Get images that were sent to your prediction endpoint.

public static Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.PredictionQueryResult> QueryPredictionsWithHttpMessages (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.PredictionQueryToken query, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default);
static member QueryPredictionsWithHttpMessages : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.PredictionQueryToken * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> -> Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.PredictionQueryResult>
<Extension()>
Public Function QueryPredictionsWithHttpMessages (operations As ICustomVisionTrainingClient, projectId As Guid, query As PredictionQueryToken, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing) As HttpOperationResponse(Of PredictionQueryResult)

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

query
PredictionQueryToken

Parameters used to query the predictions. Limited to combining 2 tags.

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

Returns

Applies to