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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET