C# Класс Amazon.Runtime.Internal.DefaultRetryPolicy

The default implementation of the retry policy.
Наследование: RetryPolicy
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

RetryForExceptionAsync() публичный Метод

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.
Результат Task

WaitBeforeRetryAsync() публичный Метод

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.
Результат System.Threading.Tasks.Task