Share via


ModelExtensions.CreateHierarchicalEntityRoleAsync Method

Definition

public static System.Threading.Tasks.Task<Guid> CreateHierarchicalEntityRoleAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel operations, Guid appId, string versionId, Guid hEntityId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.EntityRoleCreateObject entityRoleCreateObject, System.Threading.CancellationToken cancellationToken = default);
static member CreateHierarchicalEntityRoleAsync : 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 CreateHierarchicalEntityRoleAsync (operations As IModel, appId As Guid, versionId As String, hEntityId As Guid, entityRoleCreateObject As EntityRoleCreateObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Guid)

Parameters

operations
IModel
appId
Guid
versionId
String
hEntityId
Guid
entityRoleCreateObject
EntityRoleCreateObject
cancellationToken
CancellationToken

Returns

Applies to