RetryPolicy Constructor (ITransientErrorDetectionStrategy, Int32)
Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and default fixed time interval between retries.
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
public RetryPolicy( ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount )
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.
Show: