共用方式為


ExamplesExtensions.AddAsync Method

Definition

Overloads

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

AddAsync(IExamples, Guid, String, ExampleLabelObject, CancellationToken)

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

Parameters

operations
IExamples
appId
Guid
versionId
String
exampleLabelObject
ExampleLabelObject
cancellationToken
CancellationToken

Returns

Applies to

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

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

Parameters

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

Returns

Applies to