Share via


Incremental Constructor (String, Int32, TimeSpan, TimeSpan, Boolean)

 

Initializes a new instance of the Incremental 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 Incremental(
    string name,
    int retryCount,
    TimeSpan initialInterval,
    TimeSpan increment,
    bool firstFastRetry
)
public:
Incremental(
    String^ name,
    int retryCount,
    TimeSpan initialInterval,
    TimeSpan increment,
    bool firstFastRetry
)
new : 
        name:string *
        retryCount:int *
        initialInterval:TimeSpan *
        increment:TimeSpan *
        firstFastRetry:bool -> Incremental
Public Sub New (
    name As String,
    retryCount As Integer,
    initialInterval As TimeSpan,
    increment As TimeSpan,
    firstFastRetry As Boolean
)

Parameters

  • retryCount
    Type: System.Int32

    The number of retry attempts.

  • initialInterval
    Type: System.TimeSpan

    The initial interval that will apply for the first retry.

  • increment
    Type: System.TimeSpan

    The incremental time value that will be used to calculate the progressive delay between retries.

  • 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

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

Return to top