Delen via


ModelExtensions.AddEntityAsync Method

Definition

Overloads

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

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

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

Parameters

operations
IModel
appId
Guid
versionId
String
entityModelCreateObject
EntityModelCreateObject
cancellationToken
CancellationToken

Returns

Applies to

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

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

Parameters

operations
IModel
appId
Guid
versionId
String
modelCreateObject
ModelCreateObject
cancellationToken
CancellationToken

Returns

Applies to