Udostępnij za pośrednictwem


PatternExtensions.BatchAddPatternsAsync 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
Guid
versionId
String
cancellationToken
CancellationToken

Returns

Applies to