/// <summary> /// Tests the existence of job information for the specified 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'> /// JobInfo ID to test the existence of. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <bool> ExistsAsync(this IJobOperations operations, string accountName, Guid jobIdentity, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ExistsWithHttpMessagesAsync(accountName, jobIdentity, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }