Compartilhar via


ExamplesExtensions.AddAsync Método

Definição

Sobrecargas

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

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

Origem:
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)

Parâmetros

operations
IExamples
appId
Guid
versionId
String
exampleLabelObject
ExampleLabelObject
cancellationToken
CancellationToken

Retornos

Aplica-se a

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

Origem:
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)

Parâmetros

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

Retornos

Aplica-se a