RetryPolicy Constructor (ITransientErrorDetectionStrategy^, Int32, TimeSpan)

 

Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and fixed time interval between retries.

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

public:
RetryPolicy(
	ITransientErrorDetectionStrategy^ errorDetectionStrategy,
	int retryCount,
	TimeSpan retryInterval
)

Parameters

errorDetectionStrategy
Type: Microsoft.WindowsAzure.Common.TransientFaultHandling::ITransientErrorDetectionStrategy^

The ITransientErrorDetectionStrategy that is responsible for detecting transient conditions.

retryCount
Type: System::Int32

The number of retry attempts.

retryInterval
Type: System::TimeSpan

The interval between retries.

Return to top
Show: