ModelExtensions.GetEntityRoleAsync(IModel, Guid, String, Guid, Guid, CancellationToken) Method

Definition

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

Parameters

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

Returns

System.Threading.Tasks.Task<EntityRole>

Applies to