Partager via


IModel.CreateEntityRoleWithHttpMessagesAsync Méthode

Définition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Guid>> CreateEntityRoleWithHttpMessagesAsync (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 CreateEntityRoleWithHttpMessagesAsync : 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 CreateEntityRoleWithHttpMessagesAsync (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))

Paramètres

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

Retours

S’applique à