Megosztás a következőn keresztül:


RetryPolicy<T> Constructor (Int32, TimeSpan, TimeSpan)

 

Initializes a new instance of the RetryPolicy<T> class with the specified number of retry attempts and parameters defining the progressive delay between retries.

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

Syntax

public RetryPolicy(
    int retryCount,
    TimeSpan initialInterval,
    TimeSpan increment
)
public:
RetryPolicy(
    int retryCount,
    TimeSpan initialInterval,
    TimeSpan increment
)
new : 
        retryCount:int *
        initialInterval:TimeSpan *
        increment:TimeSpan -> RetryPolicy
Public Sub New (
    retryCount As Integer,
    initialInterval As TimeSpan,
    increment As TimeSpan
)

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.

See Also

RetryPolicy<T> Overload
RetryPolicy<T> Class
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace

Return to top