Delen via


IModel.AddEntityWithHttpMessagesAsync Method

Definition

Overloads

AddEntityWithHttpMessagesAsync(Guid, String, EntityModelCreateObject, Dictionary<String,List<String>>, CancellationToken)
AddEntityWithHttpMessagesAsync(Guid, String, ModelCreateObject, Dictionary<String,List<String>>, CancellationToken)

AddEntityWithHttpMessagesAsync(Guid, String, EntityModelCreateObject, Dictionary<String,List<String>>, CancellationToken)

Source:
IModel.cs
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Guid>> AddEntityWithHttpMessagesAsync (Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.EntityModelCreateObject entityModelCreateObject, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddEntityWithHttpMessagesAsync : Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.EntityModelCreateObject * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Guid>>
Public Function AddEntityWithHttpMessagesAsync (appId As Guid, versionId As String, entityModelCreateObject As EntityModelCreateObject, 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
entityModelCreateObject
EntityModelCreateObject
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to

AddEntityWithHttpMessagesAsync(Guid, String, ModelCreateObject, Dictionary<String,List<String>>, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Guid>> AddEntityWithHttpMessagesAsync (Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ModelCreateObject modelCreateObject, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddEntityWithHttpMessagesAsync : Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ModelCreateObject * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Guid>>
Public Function AddEntityWithHttpMessagesAsync (appId As Guid, versionId As String, modelCreateObject As ModelCreateObject, 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
modelCreateObject
ModelCreateObject
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to