Microsoft.Rest.TransientFaultHandling.RetryManager
Provides the entry point to the retry functionality.
Gets the default RetryManager for the application.
Gets or sets the default retry strategy name.
Initializes a new instance of the RetryManager class.
Initializes a new instance of the RetryManager class with the specified retry
strategies and default retry strategy name.
public RetryManager(IEnumerable<RetryStrategy> retryStrategies, string defaultRetryStrategyName, IDictionary<string, string> defaultRetryStrategyNamesMap)
Initializes a new instance of the RetryManager class with the specified retry
strategies and defaults.
Sets the specified retry manager as the default retry manager.
Will throw an exception if the manager is already set.
Sets the specified retry manager as the default retry manager.
Returns the retry strategy for the specified technology.
Returns a retry policy with the specified error detection strategy and the default retry strategy
defined in the configuration.
public virtual RetryPolicy<T> GetRetryPolicy<T>(string retryStrategyName) where T : ITransientErrorDetectionStrategy
Returns a retry policy with the specified error detection strategy and retry strategy.
Returns the default retry strategy defined in the configuration.
Returns the retry strategy that matches the specified name.