RetryPolicy<T> Class
Retired Content |
---|
This content and the technology described is outdated and is no longer being maintained. For more information, see Transient Fault Handling. |
Provides a generic version of the RetryPolicy class.
Namespace: Microsoft.Practices.TransientFaultHandling
Assembly: Microsoft.Practices.TransientFaultHandling.Core (in Microsoft.Practices.TransientFaultHandling.Core.dll) Version: 5.0.1118.0 (5.0.1118.0)
Syntax
public class RetryPolicy<T> : RetryPolicy
where T : new(), ITransientErrorDetectionStrategy
'Declaration
Public Class RetryPolicy(Of T As {New, ITransientErrorDetectionStrategy}) _
Inherits RetryPolicy
generic<typename T>
where T : gcnew(), ITransientErrorDetectionStrategy
public ref class RetryPolicy : public RetryPolicy
Type Parameters
- T
The type implementing the ITransientErrorDetectionStrategy interface that is responsible for detecting transient conditions.
Inheritance Hierarchy
System.Object
Microsoft.Practices.TransientFaultHandling.RetryPolicy
Microsoft.Practices.TransientFaultHandling.RetryPolicy<T>