Example #1
0
 /// <summary>
 /// Gets all batch executions for carsService.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='executionId'>
 /// Execution id of the execution
 /// </param>
 /// <param name='showPartialResults'>
 /// Returns the already processed results of the batch execution even if it
 /// hasn't been fully completed.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <BatchWebServiceResult> GetBatchExecutionStatusAsync(this ICarsService operations, string executionId, bool?showPartialResults = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetBatchExecutionStatusWithHttpMessagesAsync(executionId, showPartialResults, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }