AWS SDK for .NET Documentation
ShouldRetry Method (statusCode, config, errorResponseException, retries)
AmazonAmazon.RuntimeAmazonWebServiceClientShouldRetry(HttpStatusCode, ClientConfig, AmazonServiceException, Int32) Did this page help you?   Yes   No    Tell us about it...
Returns true if a failed request should be retried.
Declaration Syntax
C#
public static bool ShouldRetry(
	HttpStatusCode statusCode,
	ClientConfig config,
	AmazonServiceException errorResponseException,
	int retries
)
Parameters
statusCode (HttpStatusCode)
The HTTP status code from the failed request
config (ClientConfig)
The client config
errorResponseException (AmazonServiceException)
The exception from the failed request
retries (Int32)
The number of times the current request has been attempted
Return Value
True if the failed request should be retried.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)