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

PatternExtensions.UpdatePatternAsync 方法

定义

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleInfo> UpdatePatternAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IPattern operations, Guid appId, string versionId, Guid patternId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleUpdateObject pattern, System.Threading.CancellationToken cancellationToken = default);
static member UpdatePatternAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IPattern * Guid * string * Guid * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleUpdateObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleInfo>
<Extension()>
Public Function UpdatePatternAsync (operations As IPattern, appId As Guid, versionId As String, patternId As Guid, pattern As PatternRuleUpdateObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PatternRuleInfo)

参数

operations
IPattern
appId
Guid
versionId
String
patternId
Guid
cancellationToken
CancellationToken

返回

适用于