public static SentimentAsync ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), MultiLanguageBatchInputV2 multiLanguageBatchInputV2 = default(MultiLanguageBatchInputV2), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task | ||
operations | this | /// The operations group for this extension method. /// |
subscriptionKey | string | /// subscription key in url /// |
ocpApimSubscriptionKey | string | /// subscription key in header /// |
multiLanguageBatchInputV2 | MultiLanguageBatchInputV2 | /// |
cancellationToken | System | /// The cancellation token. /// |
return | System.Threading.Tasks.Task |
public static async System.Threading.Tasks.Task<object> SentimentAsync(this IAzureMachineLearningTextAnalytics operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), MultiLanguageBatchInputV2 multiLanguageBatchInputV2 = default(MultiLanguageBatchInputV2), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
using (var _result = await operations.SentimentWithHttpMessagesAsync(subscriptionKey, ocpApimSubscriptionKey, multiLanguageBatchInputV2, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
}