AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.Runtime
Assembly: AWSSDK.dll
Version: (assembly version)
public abstract class RetryPolicy : Object
The RetryPolicy type exposes the following members
Name | Type | Description | |
---|---|---|---|
Logger | Amazon.Runtime.Internal.Util.ILogger | The logger used to log messages. | |
MaxRetries | System.Int32 | Maximum number of retries to be performed. This does not count the initial request. |
Name | Description | |
---|---|---|
CanRetry(IExecutionContext) | Returns true if the request is in a state where it can be retried, else false. | |
Retry(IExecutionContext, Exception) | Checks if a retry should be performed with the given execution context and exception. | |
RetryForException(IExecutionContext, Exception) | Return true if the request should be retried for the given exception. | |
RetryLimitReached(IExecutionContext) | Checks if the retry limit is reached. | |
WaitBeforeRetry(IExecutionContext) | Waits before retrying a request. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8