Share via


RetryStrategy Members

Represents a retry strategy that determines the number of retry attempts and the interval between retries.

The following tables list the members exposed by the RetryStrategy type.

Protected Constructors

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

Top

Public Fields

  Name Description
DefaultClientBackoff Represents the default amount of time used when calculating a random delta in the exponential delay between retries.
DefaultClientRetryCount Represents the default number of retry attempts.
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.
DefaultMaxBackoff Represents the default maximum amount of time used when calculating the exponential delay between retries.
DefaultMinBackoff Represents the default minimum amount of time used when calculating the exponential delay between retries.
DefaultRetryIncrement Represents the default time increment between retry attempts in the progressive delay policy.
DefaultRetryInterval Represents the default interval between retries.

Top

Public Properties

  Name Description
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.
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.
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.
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.
Name Gets the name of the retry strategy.
NoRetry Returns a default policy that performs no retries, but invokes the action only once.

Top

Public Methods

(see also Protected Methods)

  Name Description
Equals  (Inherited from Object)
GetHashCode  (Inherited from Object)
GetShouldRetry Returns the corresponding ShouldRetry delegate.
GetType  (Inherited from Object)
ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
Finalize  (Inherited from Object)
MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

RetryStrategy Class
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace