ModelExtensions.AddEntityAsync 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
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET