Share via


FixedInterval Class

 

Represents a retry strategy with a specified number of retry attempts and a default, fixed time interval 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.FixedInterval

Syntax

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

Constructors

Name Description
FixedInterval()

Initializes a new instance of the FixedInterval class.

FixedInterval(Int32)

Initializes a new instance of the FixedInterval class with the specified number of retry attempts.

FixedInterval(Int32, TimeSpan)

Initializes a new instance of the FixedInterval class with the specified number of retry attempts and time interval.

FixedInterval(String, Int32, TimeSpan)

Initializes a new instance of the FixedInterval class with the specified number of retry attempts, time interval, and retry strategy.

FixedInterval(String, Int32, TimeSpan, Boolean)

Initializes a new instance of the FixedInterval class with the specified number of retry attempts, time interval, retry strategy, and fast start 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