RetryManager.GetRetryPolicy<T> Method ()
Returns a retry policy with the specified error detection strategy and the default retry strategy defined in the configuration.
Namespace: Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Syntax
public virtual RetryPolicy<T> GetRetryPolicy<T>()
where T : new(), ITransientErrorDetectionStrategy
public:
generic<typename T>
where T : gcnew(), ITransientErrorDetectionStrategy
virtual RetryPolicy<T>^ GetRetryPolicy()
abstract GetRetryPolicy<'T when 'T : new() and ITransientErrorDetectionStrategy> : unit -> RetryPolicy<'T>
override GetRetryPolicy<'T when 'T : new() and ITransientErrorDetectionStrategy> : unit -> RetryPolicy<'T>
Public Overridable Function GetRetryPolicy(Of T As { ITransientErrorDetectionStrategy, New }) As RetryPolicy(Of T)
Return Value
Type: Microsoft.WindowsAzure.Common.TransientFaultHandling.RetryPolicy<T>
A new retry policy with the specified error detection strategy and the default retry strategy defined in the configuration.
Type Parameters
- T
The type that implements the ITransientErrorDetectionStrategy interface that is responsible for detecting transient conditions.
See Also
GetRetryPolicy Overload
RetryManager Class
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace
Return to top