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

Examples.AddWithHttpMessagesAsync 方法

定义

重载

AddWithHttpMessagesAsync(Guid, String, ExampleLabelObject, Dictionary<String,List<String>>, CancellationToken)
AddWithHttpMessagesAsync(Guid, String, ExampleLabelObject, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

AddWithHttpMessagesAsync(Guid, String, ExampleLabelObject, Dictionary<String,List<String>>, CancellationToken)

Source:
Examples.cs
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.LabelExampleResponse>> AddWithHttpMessagesAsync (Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject exampleLabelObject, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddWithHttpMessagesAsync : Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.LabelExampleResponse>>
override this.AddWithHttpMessagesAsync : Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.LabelExampleResponse>>
Public Function AddWithHttpMessagesAsync (appId As Guid, versionId As String, exampleLabelObject As ExampleLabelObject, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of LabelExampleResponse))

参数

appId
Guid
versionId
String
exampleLabelObject
ExampleLabelObject
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

返回

实现

适用于

AddWithHttpMessagesAsync(Guid, String, ExampleLabelObject, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Source:
Examples.cs
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.LabelExampleResponse>> AddWithHttpMessagesAsync (Guid appId, string versionId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject exampleLabelObject, bool? enableNestedChildren = False, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddWithHttpMessagesAsync : Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.LabelExampleResponse>>
override this.AddWithHttpMessagesAsync : Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ExampleLabelObject * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.LabelExampleResponse>>
Public Function AddWithHttpMessagesAsync (appId As Guid, versionId As String, exampleLabelObject As ExampleLabelObject, Optional enableNestedChildren As Nullable(Of Boolean) = False, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of LabelExampleResponse))

参数

appId
Guid
versionId
String
exampleLabelObject
ExampleLabelObject
enableNestedChildren
Nullable<Boolean>
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

返回

实现

适用于