C# 클래스 Amazon.Runtime.Internal.DefaultRetryPolicy

The default implementation of the retry policy.
상속: RetryPolicy
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
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