/// <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>
 public static void BeginCancel(this IJobOperations operations, string accountName, System.Guid jobIdentity)
 {
     operations.BeginCancelAsync(accountName, jobIdentity).GetAwaiter().GetResult();
 }