共用方式為


IExamples.AddWithHttpMessagesAsync Method

Definition

Overloads

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

AddWithHttpMessagesAsync(Guid, String, ExampleLabelObject, Dictionary<String,List<String>>, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.LabelExampleResponse>> AddWithHttpMessagesAsync (Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject exampleLabelObject, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddWithHttpMessagesAsync : Guid * string * 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<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.LabelExampleResponse>>
Public Function AddWithHttpMessagesAsync (appId As Guid, versionId As String, exampleLabelObject As ExampleLabelObject, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of LabelExampleResponse))

Parameters

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

Returns

Applies to

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

Source:
IExamples.cs
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.LabelExampleResponse>> AddWithHttpMessagesAsync (Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject exampleLabelObject, bool? enableNestedChildren = False, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddWithHttpMessagesAsync : Guid * string * 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<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.LabelExampleResponse>>
Public Function AddWithHttpMessagesAsync (appId As Guid, versionId As String, exampleLabelObject As 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 LabelExampleResponse))

Parameters

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

Returns

Applies to