RetryStrategy Members

Include Protected Members
Include Inherited Members

The RetryStrategy type exposes the following members.

Constructors

  Name Description
Protected method RetryStrategy
Initializes a new instance of the RetryStrategy class.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetShouldRetry
Returns the corresponding ShouldRetry delegate.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  Name Description
Public Extension Method AsAzureStorageClientRetryPolicy
Wraps a Transient Fault Handling Application Block retry strategy into a Microsoft.WindowsAzure.StorageClient.RetryPolicy.
(Defined by WindowsAzureStorageExtensions.)

Fields

  Name Description
Public fieldStatic member DefaultClientBackoff
Represents the default amount of time used when calculating a random delta in the exponential delay between retries.
Public fieldStatic member DefaultClientRetryCount
Represents the default number of retry attempts.
Public fieldStatic member DefaultFirstFastRetry
Represents the default flag indicating whether the first retry attempt will be made immediately, whereas subsequent retries will remain subject to the retry interval.
Public fieldStatic member DefaultMaxBackoff
Represents the default maximum amount of time used when calculating the exponential delay between retries.
Public fieldStatic member DefaultMinBackoff
Represents the default minimum amount of time used when calculating the exponential delay between retries.
Public fieldStatic member DefaultRetryIncrement
Represents the default time increment between retry attempts in the progressive delay policy.
Public fieldStatic member DefaultRetryInterval
Represents the default interval between retries.

Properties

  Name Description
Public propertyStatic member DefaultExponential
Returns a default policy that implements a random exponential retry interval configured with the DefaultClientRetryCount, DefaultMinBackoff, DefaultMaxBackoff, and DefaultClientBackoff parameters. The default retry policy treats all caught exceptions as transient errors.
Public propertyStatic member DefaultFixed
Returns a default policy that implements a fixed retry interval configured with the DefaultClientRetryCount and DefaultRetryInterval parameters. The default retry policy treats all caught exceptions as transient errors.
Public propertyStatic member DefaultProgressive
Returns a default policy that implements a progressive retry interval configured with the DefaultClientRetryCount, DefaultRetryInterval, and DefaultRetryIncrement parameters. The default retry policy treats all caught exceptions as transient errors.
Public property FastFirstRetry
Gets or sets a value indicating whether the first retry attempt will be made immediately, whereas subsequent retries will remain subject to the retry interval.
Public property Name
Gets the name of the retry strategy.
Public propertyStatic member NoRetry
Returns a default policy that performs no retries, but invokes the action only once.

See Also

RetryStrategy Class

Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling Namespace