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
System_CAPS_pubmethod FixedInterval()

Initializes a new instance of the FixedInterval class.

System_CAPS_pubmethod FixedInterval(Int32)

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

System_CAPS_pubmethod FixedInterval(Int32, TimeSpan)

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

System_CAPS_pubmethod FixedInterval(String, Int32, TimeSpan)

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

System_CAPS_pubmethod 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
System_CAPS_pubproperty 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.)

System_CAPS_pubproperty Name

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

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetShouldRetry()

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

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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