コード例 #1
0
 /// <summary>
 /// Asynchronously polls this job for completion, which must be a query job.
 /// This method just creates a <see cref="JobReference"/> and delegates to <see cref="BigQueryClient.PollQueryUntilCompletedAsync(JobReference, GetQueryResultsOptions, PollSettings, CancellationToken)"/>.
 /// </summary>
 /// <param name="options">The options for the operation. May be null, in which case defaults will be supplied.</param>
 /// <param name="pollSettings">The settings to control how often and long the job is fetched before timing out if it is still incomplete.
 /// 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 completed job.</returns>
 public Task <BigQueryResults> PollQueryUntilCompletedAsync(GetQueryResultsOptions options = null, PollSettings pollSettings = null, CancellationToken cancellationToken = default(CancellationToken)) =>
 _client.PollQueryUntilCompletedAsync(Reference, options, pollSettings, cancellationToken);