ExponentialRetry Class (Microsoft.WindowsAzure.Storage.RetryPolicies)
From Microsoft.WindowsAzure.Storage.Queue
Represents a retry policy that performs a specified number of retries, using a randomized exponential back off scheme to determine the interval between retries.
Namespace:
Microsoft.WindowsAzure.Storage.RetryPolicies
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Inheritance Hierarchy
System.::..Object
Microsoft.WindowsAzure.Storage.RetryPolicies.::..ExponentialRetry
Syntax
[<Sealed>]
type ExponentialRetry =
class
interface IExtendedRetryPolicy
interface IRetryPolicy
end
Public NotInheritable Class ExponentialRetry
Implements IExtendedRetryPolicy, IRetryPolicy
Constructors
Name Description 
ExponentialRetry()()()()
Initializes a new instance of the ExponentialRetry class.

ExponentialRetry(TimeSpan, Int32)(TimeSpan, Int32)(TimeSpan, Int32)(TimeSpan, Int32)
Initializes a new instance of the ExponentialRetry class using the specified delta and maximum number of retries.
Methods
Name Description 
CreateInstance()()()()
Generates a new retry policy for the current request attempt.

Equals(Object)(Object^)(Object)(Object) (Inherited from Object.)

Evaluate(RetryContext, OperationContext)(RetryContext^, OperationContext^)(RetryContext, OperationContext)(RetryContext, OperationContext)
Determines whether the operation should be retried and the interval until the next retry.

GetHashCode()()()() (Inherited from Object.)

GetType()()()() (Inherited from Object.)

ShouldRetry(Int32, Int32, Exception, TimeSpan, OperationContext)(Int32, Int32, Exception^, TimeSpan%, OperationContext^)(Int32, Int32, Exception, TimeSpan, OperationContext)(Int32, Int32, Exception, TimeSpan, OperationContext)
Determines whether the operation should be retried and the interval until the next retry.

ToString()()()() (Inherited from Object.)
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Return to top
Represents a retry policy that performs a specified number of retries, using a randomized exponential back off scheme to determine the interval between retries.
Inheritance Hierarchy
System.::..ObjectMicrosoft.WindowsAzure.Storage.RetryPolicies.::..ExponentialRetry
Syntax
[<Sealed>] type ExponentialRetry = class interface IExtendedRetryPolicy interface IRetryPolicy end
Public NotInheritable Class ExponentialRetry Implements IExtendedRetryPolicy, IRetryPolicy
Constructors
| Name | Description | |
|---|---|---|
| ExponentialRetry()()()() | Initializes a new instance of the ExponentialRetry class. | |
| ExponentialRetry(TimeSpan, Int32)(TimeSpan, Int32)(TimeSpan, Int32)(TimeSpan, Int32) | Initializes a new instance of the ExponentialRetry class using the specified delta and maximum number of retries. |
Methods
| Name | Description | |
|---|---|---|
| CreateInstance()()()() | Generates a new retry policy for the current request attempt. | |
| Equals(Object)(Object^)(Object)(Object) | (Inherited from Object.) | |
| Evaluate(RetryContext, OperationContext)(RetryContext^, OperationContext^)(RetryContext, OperationContext)(RetryContext, OperationContext) | Determines whether the operation should be retried and the interval until the next retry. | |
| GetHashCode()()()() | (Inherited from Object.) | |
| GetType()()()() | (Inherited from Object.) | |
| ShouldRetry(Int32, Int32, Exception, TimeSpan, OperationContext)(Int32, Int32, Exception^, TimeSpan%, OperationContext^)(Int32, Int32, Exception, TimeSpan, OperationContext)(Int32, Int32, Exception, TimeSpan, OperationContext) | Determines whether the operation should be retried and the interval until the next retry. | |
| ToString()()()() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.