C# Class Amazon.Runtime.Internal.DefaultRetryPolicy

The default implementation of the retry policy.
Inheritance: RetryPolicy
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode Description
RetryForExceptionAsync ( IExecutionContext executionContext, Exception exception ) : Task

Return true if the request should be retried.

WaitBeforeRetryAsync ( IExecutionContext executionContext ) : System.Threading.Tasks.Task

Waits before retrying a request.

Method Details

RetryForExceptionAsync() public méthode

Return true if the request should be retried.
public RetryForExceptionAsync ( IExecutionContext executionContext, Exception exception ) : Task
executionContext IExecutionContext Request context containing the state of the request.
exception System.Exception The exception thrown by the previous request.
Résultat Task

WaitBeforeRetryAsync() public méthode

Waits before retrying a request.
public WaitBeforeRetryAsync ( IExecutionContext executionContext ) : System.Threading.Tasks.Task
executionContext IExecutionContext The execution context which contains both the /// requests and response context.
Résultat System.Threading.Tasks.Task