Freigeben über


CustomVisionTrainingClientExtensions.QueryPredictionsWithHttpMessages Methode

Definition

Ruft Bilder ab, die an Ihren Vorhersageendpunkt gesendet wurden.

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)

Parameter

operations
ICustomVisionTrainingClient

Die Vorgangsgruppe für diese Erweiterungsmethode.

projectId
Guid

Die Projekt-ID.

query
PredictionQueryToken

Parameter, die zum Abfragen der Vorhersagen verwendet werden. Beschränkt auf die Kombination von 2 Tags.

customHeaders
Dictionary<String,List<String>>

Header, die der Anforderung hinzugefügt werden.

Gibt zurück

Gilt für: