你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IModel.AddEntityWithHttpMessagesAsync 方法

定义

重载

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))

参数

appId
Guid
versionId
String
entityModelCreateObject
EntityModelCreateObject
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

返回

适用于

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))

参数

appId
Guid
versionId
String
modelCreateObject
ModelCreateObject
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

返回

适用于