Click or drag to resize

RecoveryDelay Constructor (TimeSpan, Int32, RecoveryStrategyDelayType)

Initializes a new instance of the RecoveryDelay class.

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 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.ORMSupportClassesRecoveryStrategyDelayType
Type of the delay calculation. Uses delayParameter.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptiondelayParameter has to be a value bigger than 0.
See Also