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
public static bool ShouldRetry(
	HttpStatusCode statusCode,
	ClientConfig config,
	AmazonServiceException errorResponseException,
	int retries
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: (