Share via


RetryPolicy Constructor (ITransientErrorDetectionStrategy, RetryStrategy)

 

Initializes a new instance of the RetryPolicy 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(
    ITransientErrorDetectionStrategy errorDetectionStrategy,
    RetryStrategy retryStrategy
)
public:
RetryPolicy(
    ITransientErrorDetectionStrategy^ errorDetectionStrategy,
    RetryStrategy^ retryStrategy
)
new : 
        errorDetectionStrategy:ITransientErrorDetectionStrategy *
        retryStrategy:RetryStrategy -> RetryPolicy
Public Sub New (
    errorDetectionStrategy As ITransientErrorDetectionStrategy,
    retryStrategy As RetryStrategy
)

Parameters

See Also

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

Return to top