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.
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Public Sub New ( errorDetectionStrategy As ITransientErrorDetectionStrategy, retryStrategy As RetryStrategy )
Parameters
- errorDetectionStrategy
-
Type:
Microsoft.WindowsAzure.Common.TransientFaultHandling.ITransientErrorDetectionStrategy
The ITransientErrorDetectionStrategy that is responsible for detecting transient conditions.
- retryStrategy
-
Type:
Microsoft.WindowsAzure.Common.TransientFaultHandling.RetryStrategy
The strategy to use for this retry policy.
Show: