IModel.CreateEntityRoleWithHttpMessagesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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))
Parameters
- appId
- Guid
- versionId
- String
- entityId
- Guid
- entityRoleCreateObject
- EntityRoleCreateObject
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken