Delen via


IPattern.UpdatePatternWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleInfo>> UpdatePatternWithHttpMessagesAsync (Guid appId, string versionId, Guid patternId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleUpdateObject pattern, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdatePatternWithHttpMessagesAsync : Guid * string * Guid * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleUpdateObject * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleInfo>>
Public Function UpdatePatternWithHttpMessagesAsync (appId As Guid, versionId As String, patternId As Guid, pattern As PatternRuleUpdateObject, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of PatternRuleInfo))

Parameters

appId
Guid
versionId
String
patternId
Guid
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to