ExponentialBackoff Class

 

A retry strategy with backoff parameters for calculating the exponential delay between retries.

Namespace:   Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Common.TransientFaultHandling.RetryStrategy
    Microsoft.WindowsAzure.Common.TransientFaultHandling.ExponentialBackoff

Syntax

public class ExponentialBackoff : RetryStrategy
public ref class ExponentialBackoff : RetryStrategy
type ExponentialBackoff = 
    class
        inherit RetryStrategy
    end
Public Class ExponentialBackoff
    Inherits RetryStrategy

Constructors

Name Description
ExponentialBackoff()

Initializes a new instance of the ExponentialBackoff class.

ExponentialBackoff(Int32, TimeSpan, TimeSpan, TimeSpan)

Initializes a new instance of the ExponentialBackoff class with the specified retry settings.

ExponentialBackoff(String, Int32, TimeSpan, TimeSpan, TimeSpan)

Initializes a new instance of the ExponentialBackoff class with the specified name and retry settings.

ExponentialBackoff(String, Int32, TimeSpan, TimeSpan, TimeSpan, Boolean)

Initializes a new instance of the ExponentialBackoff class with the specified name, retry settings, and fast retry option.

Properties

Name Description
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.(Inherited from RetryStrategy.)

Name

Gets the name of the retry strategy.(Inherited from RetryStrategy.)

Methods

Name Description
Equals(Object)

(Inherited from Object.)

Finalize()

(Inherited from Object.)

GetHashCode()

(Inherited from Object.)

GetShouldRetry()

Returns the corresponding ShouldRetry delegate.(Overrides RetryStrategy.GetShouldRetry().)

GetType()

(Inherited from Object.)

MemberwiseClone()

(Inherited from Object.)

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.

See Also

Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace

Return to top