Share via


ModelExtensions.GetPatternAnyEntityRoleAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.EntityRole> GetPatternAnyEntityRoleAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IModel operations, Guid appId, string versionId, Guid entityId, Guid roleId, System.Threading.CancellationToken cancellationToken = default);
static member GetPatternAnyEntityRoleAsync : 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 GetPatternAnyEntityRoleAsync (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
Guid
versionId
String
entityId
Guid
roleId
Guid
cancellationToken
CancellationToken

Returns

Applies to