Udostępnij za pośrednictwem


ModelExtensions.UpdateHierarchicalEntityRoleAsync Method

Definition

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

Parameters

operations
IModel
appId
Guid
versionId
String
hEntityId
Guid
roleId
Guid
entityRoleUpdateObject
EntityRoleUpdateObject
cancellationToken
CancellationToken

Returns

Applies to