Пример #1
0
 /// <summary>
 /// Return true if the request should be retried. Implements additional checks
 /// specific to S3 on top of the checks in StandardRetryPolicy.
 /// </summary>
 /// <param name="executionContext">Request context containing the state of the request.</param>
 /// <param name="exception">The exception thrown by the previous request.</param>
 /// <returns>Return true if the request should be retried.</returns>
 public override async Task <bool> RetryForExceptionAsync(Runtime.IExecutionContext executionContext, Exception exception)
 {
     return(await AmazonS3RetryPolicy.SharedRetryForExceptionAsync(executionContext, exception, RetryForExceptionSync, base.RetryForException).ConfigureAwait(false));
 }