Click or drag to resize

RecoveryDelayGetNextDelayPeriod Method

Gets the next delay period. Calculates based on the delay type and the delay parameter the next delay for the attempt specified.

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 TimeSpan GetNextDelayPeriod(
	int attemptNumber
)

Parameters

attemptNumber
Type: SystemInt32
The attempt number.

Return Value

Type: TimeSpan
The minimum of the maximum delay specified in the ctor and the calculated value.
See Also