Esempio n. 1
0
 /// <summary>
 /// Deleted an unlabelled utterance in a version of the application.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='appId'>
 /// The application ID.
 /// </param>
 /// <param name='versionId'>
 /// The version ID.
 /// </param>
 /// <param name='utterance'>
 /// The utterance text to delete.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <OperationStatus> DeleteUnlabelledUtteranceAsync(this IVersions operations, System.Guid appId, string versionId, string utterance, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.DeleteUnlabelledUtteranceWithHttpMessagesAsync(appId, versionId, utterance, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Deleted an unlabelled utterance.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='azureRegion'>
 /// Supported Azure regions for Cognitive Services endpoints. Possible values
 /// include: 'westus', 'westeurope'
 /// </param>
 /// <param name='appId'>
 /// Format - guid. The application ID.
 /// </param>
 /// <param name='versionId'>
 /// The version ID of the task.
 /// </param>
 /// <param name='body'>
 /// The utterance text to delete
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteUnlabelledUtteranceAsync(this IVersions operations, AzureRegions azureRegion, string appId, string versionId, object body = default(object), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteUnlabelledUtteranceWithHttpMessagesAsync(azureRegion, appId, versionId, body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }