Sdílet prostřednictvím


IExamples.BatchWithHttpMessagesAsync Method

Definition

Overloads

BatchWithHttpMessagesAsync(Guid, String, IList<ExampleLabelObject>, Dictionary<String,List<String>>, CancellationToken)
BatchWithHttpMessagesAsync(Guid, String, IList<ExampleLabelObject>, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

BatchWithHttpMessagesAsync(Guid, String, IList<ExampleLabelObject>, Dictionary<String,List<String>>, CancellationToken)

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

Parameters

appId
Guid
versionId
String
exampleLabelObjectArray
IList<ExampleLabelObject>
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to

BatchWithHttpMessagesAsync(Guid, String, IList<ExampleLabelObject>, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

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

Parameters

appId
Guid
versionId
String
exampleLabelObjectArray
IList<ExampleLabelObject>
enableNestedChildren
Nullable<Boolean>
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to