Partager via


PatternExtensions.UpdatePatternAsync Méthode

Définition

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)

Paramètres

operations
IPattern
appId
Guid
versionId
String
patternId
Guid
cancellationToken
CancellationToken

Retours

S’applique à