你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ExamplesExtensions.AddAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- operations
- IExamples
- appId
- Guid
- versionId
- String
- exampleLabelObject
- ExampleLabelObject
- cancellationToken
- CancellationToken
返回
适用于
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)
参数
- operations
- IExamples
- appId
- Guid
- versionId
- String
- exampleLabelObject
- ExampleLabelObject
- cancellationToken
- CancellationToken