/// <summary>
 /// Cancels the running job specified by the job ID.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='accountName'>
 /// The Azure Data Lake Analytics account to execute job operations on.
 /// </param>
 /// <param name='jobIdentity'>
 /// Job identifier. Uniquely identifies the job across all jobs submitted to
 /// the service.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task CancelAsync(this IJobOperations operations, string accountName, System.Guid jobIdentity, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.CancelWithHttpMessagesAsync(accountName, jobIdentity, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }