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.

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

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

  Name Description
public property static 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 property static 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 property static 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 property static NoRetry Returns a default policy that performs no retries, but invokes the action only once.
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetShouldRetryReturns the corresponding ShouldRetry delegate.
public methodGetType  (Inherited from Object)
public methodToString  (Inherited from Object)
Top

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
Top

Show: