Compartilhar via


ModelExtensions.AddEntityAsync Método

Definição

Sobrecargas

AddEntityAsync(IModel, Guid, String, EntityModelCreateObject, CancellationToken)
AddEntityAsync(IModel, Guid, String, ModelCreateObject, CancellationToken)

AddEntityAsync(IModel, Guid, String, EntityModelCreateObject, CancellationToken)

Origem:
ModelExtensions.cs
public static System.Threading.Tasks.Task<Guid> AddEntityAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel operations, Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.EntityModelCreateObject entityModelCreateObject, System.Threading.CancellationToken cancellationToken = default);
static member AddEntityAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel * Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.EntityModelCreateObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Guid>
<Extension()>
Public Function AddEntityAsync (operations As IModel, appId As Guid, versionId As String, entityModelCreateObject As EntityModelCreateObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Guid)

Parâmetros

operations
IModel
appId
Guid
versionId
String
entityModelCreateObject
EntityModelCreateObject
cancellationToken
CancellationToken

Retornos

Aplica-se a

AddEntityAsync(IModel, Guid, String, ModelCreateObject, CancellationToken)

Origem:
ModelExtensions.cs
public static System.Threading.Tasks.Task<Guid> AddEntityAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel operations, Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ModelCreateObject modelCreateObject, System.Threading.CancellationToken cancellationToken = default);
static member AddEntityAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel * Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ModelCreateObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Guid>
<Extension()>
Public Function AddEntityAsync (operations As IModel, appId As Guid, versionId As String, modelCreateObject As ModelCreateObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Guid)

Parâmetros

operations
IModel
appId
Guid
versionId
String
modelCreateObject
ModelCreateObject
cancellationToken
CancellationToken

Retornos

Aplica-se a