Share via


PredictionOperationsExtensions.GetVersionPredictionAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.PredictionResponse> GetVersionPredictionAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.IPredictionOperations operations, Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.PredictionRequest predictionRequest, bool? verbose = default, bool? showAllIntents = default, bool? log = default, System.Threading.CancellationToken cancellationToken = default);
static member GetVersionPredictionAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.IPredictionOperations * Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.PredictionRequest * Nullable<bool> * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.PredictionResponse>
<Extension()>
Public Function GetVersionPredictionAsync (operations As IPredictionOperations, appId As Guid, versionId As String, predictionRequest As PredictionRequest, Optional verbose As Nullable(Of Boolean) = Nothing, Optional showAllIntents As Nullable(Of Boolean) = Nothing, Optional log As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PredictionResponse)

Parameters

appId
Guid
versionId
String
predictionRequest
PredictionRequest
verbose
Nullable<Boolean>
showAllIntents
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to