Share via


IModel.UpdateEntityRoleWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.OperationStatus>> UpdateEntityRoleWithHttpMessagesAsync (Guid appId, string versionId, Guid entityId, Guid roleId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.EntityRoleUpdateObject entityRoleUpdateObject, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateEntityRoleWithHttpMessagesAsync : Guid * string * Guid * Guid * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.EntityRoleUpdateObject * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.OperationStatus>>
Public Function UpdateEntityRoleWithHttpMessagesAsync (appId As Guid, versionId As String, entityId As Guid, roleId As Guid, entityRoleUpdateObject As EntityRoleUpdateObject, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of OperationStatus))

Parameters

appId
Guid
versionId
String
entityId
Guid
roleId
Guid
entityRoleUpdateObject
EntityRoleUpdateObject
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to