Click or drag to resize

RecoveryDelay Constructor (TimeSpan, Int32, RecoveryStrategyDelayType)

Initializes a new instance of the RecoveryDelay class.

Namespace:  SD.LLBLGen.Pro.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public RecoveryDelay(
	TimeSpan maximumDelay,
	int delayParameter,
	RecoveryStrategyDelayType delayType
)

Parameters

maximumDelay
Type: SystemTimeSpan
The maximum delay to wait between attempts.
delayParameter
Type: SystemInt32
The delay parameter. Has to be bigger than 0. Value is used with the delay calculation based on delayType
delayType
Type: SD.LLBLGen.Pro.DBDriverCoreRecoveryStrategyDelayType
Type of the delay calculation. Uses delayParameter.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptiondelayParameter has to be a value bigger than 0.
See Also