Udostępnij za pośrednictwem


IModel.CreateClosedListEntityRoleWithHttpMessagesAsync Method

Definition

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

Parameters

appId
Guid
versionId
String
entityId
Guid
entityRoleCreateObject
EntityRoleCreateObject
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to