RetryManager.GetRetryPolicy<T> Method
Retired Content |
---|
This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling. |
Return a retry policy with the specified error detection strategy and the default retry strategy defined in the config.
Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.dll) Version: 5.0.1118.0 (5.0.1118.0)
Syntax
public virtual RetryPolicy<T> GetRetryPolicy<T>()
where T : new(), ITransientErrorDetectionStrategy
'Declaration
Public Overridable Function GetRetryPolicy(Of T As {New, ITransientErrorDetectionStrategy}) As RetryPolicy(Of T)
public:
generic<typename T>
where T : gcnew(), ITransientErrorDetectionStrategy
virtual RetryPolicy<T>^ GetRetryPolicy()
Type Parameters
- T
The type implementing the ITransientErrorDetectionStrategy interface that is responsible for detecting transient conditions.
Return Value
A new retry policy with the specified error detection strategy and the default retry strategy defined in the config
See Also
Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling Namespace