Click or drag to resize
RecoveryStrategyBase Class
Base class for transient error recovery stategies. Not thread safe.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.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.
Public methodExecuteAsync(FuncTask, CancellationToken)
Executes the specified toExecute func asynchronously. 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 methodExecuteAsyncTResult(FuncTaskTResult, CancellationToken)
Executes the specified toExecute func asynchronously. 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.)
Protected methodUnwrapException
Unwraps the exception specified. Unwrapping is attempted on any ORMException derived exception. If the exception to unwrap isn't an ORMException, it's returned as-is.
Top
See Also