Click or drag to resize

SqlAzureRecoveryStrategy Class

Specific strategy to be used with SQL Azure and also usable for local SQL Server connections.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesRecoveryStrategyBase
    SD.LLBLGen.Pro.ORMSupportClassesSqlAzureRecoveryStrategy

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public class SqlAzureRecoveryStrategy : RecoveryStrategyBase

The SqlAzureRecoveryStrategy type exposes the following members.

Constructors
  NameDescription
Public methodSqlAzureRecoveryStrategy
Initializes a new instance of the SqlAzureRecoveryStrategy class.
Public methodSqlAzureRecoveryStrategy(Int32, RecoveryDelay)
Initializes a new instance of the SqlAzureRecoveryStrategy class.
Top
Properties
  NameDescription
Public propertyCollectedExceptions
Gets the collected exceptions which are caught during the execution and retry attempts of the work.
(Inherited from RecoveryStrategyBase.)
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.
(Inherited from RecoveryStrategyBase.)
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.
(Inherited from RecoveryStrategyBase.)
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.
(Inherited from RecoveryStrategyBase.)
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.
(Inherited from RecoveryStrategyBase.)
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.
(Overrides RecoveryStrategyBaseIsTransientException(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.
(Inherited from RecoveryStrategyBase.)
Top
See Also