你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PredictionOperationsExtensions.GetVersionPredictionAsync 方法

定义

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)

参数

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

返回

适用于