ModelExtensions.ListPrebuiltEntityRolesAsync Method

Definition

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

Parameters

operations
IModel
appId
Guid
versionId
String
entityId
Guid
cancellationToken
CancellationToken

Returns

Applies to