Click or drag to resize

RecoveryStrategyBase Class

Base class for transient error recovery stategies. Not thread safe.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.DBDriverCoreRecoveryStrategyBase

Namespace:  SD.LLBLGen.Pro.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public abstract class RecoveryStrategyBase

The RecoveryStrategyBase type exposes the following members.

Constructors
  NameDescription
Protected methodRecoveryStrategyBase
Initializes a new instance of the RecoveryStrategyBase class.
Protected methodRecoveryStrategyBase(Int32, RecoveryDelay)
Initializes a new instance of the RecoveryStrategyBase class.
Top
Properties
  NameDescription
Public propertyCollectedExceptions
Gets the collected exceptions which are caught during the execution and retry attempts of the work.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute(Action)
Executes the specified toExecute func. If it fails with a transient exception it will be retried till either the maximum number of retries has been attempted or the maximum delay has been reached.
Public methodExecuteTResult(FuncTResult)
Executes the specified toExecute func. If it fails with a transient exception it will be retried till either the maximum number of retries has been attempted or the maximum delay has been reached.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsTransientException
Determines whether the specified exception is a transient exception.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also