Condividi tramite


ExamplesExtensions.BatchAsync Method

Definition

Overloads

BatchAsync(IExamples, Guid, String, IList<ExampleLabelObject>, CancellationToken)
BatchAsync(IExamples, Guid, String, IList<ExampleLabelObject>, Nullable<Boolean>, CancellationToken)

BatchAsync(IExamples, Guid, String, IList<ExampleLabelObject>, CancellationToken)

Source:
ExamplesExtensions.cs
public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.BatchLabelExample>> BatchAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IExamples operations, Guid appId, string versionId, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject> exampleLabelObjectArray, System.Threading.CancellationToken cancellationToken = default);
static member BatchAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IExamples * Guid * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.BatchLabelExample>>
<Extension()>
Public Function BatchAsync (operations As IExamples, appId As Guid, versionId As String, exampleLabelObjectArray As IList(Of ExampleLabelObject), Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of BatchLabelExample))

Parameters

operations
IExamples
appId
Guid
versionId
String
exampleLabelObjectArray
IList<ExampleLabelObject>
cancellationToken
CancellationToken

Returns

Applies to

BatchAsync(IExamples, Guid, String, IList<ExampleLabelObject>, Nullable<Boolean>, CancellationToken)

Source:
ExamplesExtensions.cs
public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.BatchLabelExample>> BatchAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IExamples operations, Guid appId, string versionId, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject> exampleLabelObjectArray, bool? enableNestedChildren = False, System.Threading.CancellationToken cancellationToken = default);
static member BatchAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IExamples * Guid * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.BatchLabelExample>>
<Extension()>
Public Function BatchAsync (operations As IExamples, appId As Guid, versionId As String, exampleLabelObjectArray As IList(Of ExampleLabelObject), Optional enableNestedChildren As Nullable(Of Boolean) = False, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of BatchLabelExample))

Parameters

operations
IExamples
appId
Guid
versionId
String
exampleLabelObjectArray
IList<ExampleLabelObject>
enableNestedChildren
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to