ModelExtensions.CreateCustomPrebuiltEntityRoleAsync(IModel, Guid, String, Guid, EntityRoleCreateObject, CancellationToken) Method

Definition

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

Parameters

operations
IModel
appId
System.Guid
versionId
System.String
entityId
System.Guid
entityRoleCreateObject
EntityRoleCreateObject
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Guid>

Applies to