Share via


ITextAnalyticsClient.DetectLanguageWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models.LanguageBatchResult>> DetectLanguageWithHttpMessagesAsync (bool? showStats = default, Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models.LanguageBatchInput languageBatchInput = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DetectLanguageWithHttpMessagesAsync : Nullable<bool> * Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models.LanguageBatchInput * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models.LanguageBatchResult>>
Public Function DetectLanguageWithHttpMessagesAsync (Optional showStats As Nullable(Of Boolean) = Nothing, Optional languageBatchInput As LanguageBatchInput = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of LanguageBatchResult))

Parameters

showStats
Nullable<Boolean>
languageBatchInput
LanguageBatchInput
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to