Examples.AddWithHttpMessagesAsync 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.
Overloads
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))
Parameters
- appId
- Guid
- versionId
- String
- exampleLabelObject
- ExampleLabelObject
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken
Returns
Implements
Applies to
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))
Parameters
- appId
- Guid
- versionId
- String
- exampleLabelObject
- ExampleLabelObject
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken
Returns
Implements
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET