Exemplo n.º 1
0
 /// <summary>
 /// Asynchronously cancels this job.
 /// This method just creates a <see cref="JobReference"/> and delegates to <see cref="BigQueryClient.CancelJobAsync(JobReference, CancelJobOptions, CancellationToken)"/>.
 /// </summary>
 /// <param name="options">The options for the operation. May be null, in which case defaults will be supplied.</param>
 /// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
 /// <returns>A task representing the asynchronous operation. When complete, the result is
 /// the final state of the job.</returns>
 public Task <BigQueryJob> CancelAsync(CancelJobOptions options = null, CancellationToken cancellationToken = default) =>
 _client.CancelJobAsync(Reference, options, cancellationToken);