RetryManager.GetRetryPolicy(Of T) Method (String)

 

Returns a retry policy with the specified error detection strategy and retry strategy.

Namespace:   Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Public Overridable Function GetRetryPolicy(Of T As { ITransientErrorDetectionStrategy, New }) (
	retryStrategyName As String
) As RetryPolicy(Of T)

Parameters

retryStrategyName
Type: System.String

The retry strategy name, as defined in the configuration.

Return Value

Type: Microsoft.WindowsAzure.Common.TransientFaultHandling.RetryPolicy(Of 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.

Return to top
Show: