ExamplesExtensions.AddAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- cancellationToken
- CancellationToken
Returns
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應