PatternExtensions.BatchAddPatternsAsync(IPattern, Guid, String, IList<PatternRuleCreateObject>, CancellationToken) Method

Definition

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

Parameters

operations
IPattern
appId
System.Guid
versionId
System.String
patterns
System.Collections.Generic.IList<PatternRuleCreateObject>
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IList<PatternRuleInfo>>

Applies to