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
errorDetectionStrategy
Type: Microsoft.WindowsAzure.Common.TransientFaultHandling.ITransientErrorDetectionStrategyThe ITransientErrorDetectionStrategy that is responsible for detecting transient conditions.
retryStrategy
Type: Microsoft.WindowsAzure.Common.TransientFaultHandling.RetryStrategyThe strategy to use for this retry policy.
See Also
RetryPolicy Overload
RetryPolicy Class
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace
Return to top