Partager via


Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling Namespace

 

Classes

  Class Description
Public class CacheTransientErrorDetectionStrategy
Provides the transient error detection logic that can recognize transient faults when dealing with Windows Azure Caching.
Public class ExponentialBackoff
A retry strategy with backoff parameters for calculating the exponential delay between retries.
Public class FixedInterval
Represents a retry strategy with a specified number of retry attempts and a default, fixed time interval between retries.
Public class Incremental
A retry strategy with a specified number of retry attempts and an incremental time interval between retries.
Public class ReliableSqlConnection
Provides a reliable way of opening connections to, and executing commands against, the SQL Database databases taking potential network unreliability and connection retry requirements into account.
Public class RetryingEventArgs
Contains information that is required for the Retrying event.
Public class RetryLimitExceededException Obsolete.
The special type of exception that provides managed exit from a retry loop. The user code can use this exception to notify the retry policy that no further retry attempts are required.
Public class RetryManager
Provides the entry point to the retry functionality.
Public class RetryManagerCachingExtensions
Provides extensions to the RetryManager class for using the Windows Azure Caching retry strategy.
Public class RetryManagerServiceBusExtensions
Provides extensions to the RetryManager class for using the Windows Azure Service Bus retry strategy.
Public class RetryManagerSqlExtensions
Extends the RetryManager class to use it with the SQL Database retry strategy.
Public class RetryManagerWindowsAzureStorageExtensions
Provides extensions to the RetryManager class for using the Windows Azure Storage retry strategy.
Public class RetryPolicy
Provides the base implementation of the retry mechanism for unreliable actions and transient conditions.
Public class RetryPolicy<T>
Provides a generic version of the RetryPolicy class.
Public class RetryPolicyFactory
Provides a factory class for instantiating application-specific retry policies described in the application configuration.
Public class RetryStrategy
Represents a retry strategy that determines the number of retry attempts and the interval between retries.
Public class ServiceBusTransientErrorDetectionStrategy
Provides the transient error detection logic that can recognize transient faults when dealing with Windows Azure Service Bus.
Public class SqlCommandExtensions
Provides a set of extension methods that add retry capabilities to the standard System.Data.SqlClient.SqlCommand implementation.
Public class SqlCommandFactory
Provides factory methods for instantiating SQL commands.
Public class SqlConnectionExtensions
Provides a set of extension methods that add retry capabilities to the standard SqlConnection implementation.
Public class SqlDatabaseTransientErrorDetectionStrategy
Provides the transient error detection logic for transient faults that are specific to SQL Database.
Public class StorageTransientErrorDetectionStrategy
Provides the transient error detection logic that can recognize transient faults when dealing with Windows Azure storage services.
Public class TransactionRetryScope
Provides support for retry policy-aware transactional scope.
Public class WindowsAzureStorageExtensions
Extends the RetryStrategy class to allow using the retry strategies from the Transient Fault Handling Application Block with Windows Azure Store.

Interfaces

  Interface Description
Public interface ITransientErrorDetectionStrategy
Defines an interface that must be implemented by custom components responsible for detecting specific transient conditions.

Delegates

  Delegate Description
Public delegate ShouldRetry
Defines a callback delegate that will be invoked whenever a retry condition is encountered.