Sdílet prostřednictvím


FixedInterval Constructor (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.

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

Syntax

public FixedInterval(
    string name,
    int retryCount,
    TimeSpan retryInterval,
    bool firstFastRetry
)
public:
FixedInterval(
    String^ name,
    int retryCount,
    TimeSpan retryInterval,
    bool firstFastRetry
)
new : 
        name:string *
        retryCount:int *
        retryInterval:TimeSpan *
        firstFastRetry:bool -> FixedInterval
Public Sub New (
    name As String,
    retryCount As Integer,
    retryInterval As TimeSpan,
    firstFastRetry As Boolean
)

Parameters

  • retryCount
    Type: System.Int32

    The number of retry attempts.

  • firstFastRetry
    Type: System.Boolean

    true to immediately retry in the first attempt; otherwise, false. The subsequent retries will remain subject to the configured retry interval.

See Also

FixedInterval Overload
FixedInterval Class
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace

Return to top