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.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.10.0.0 (5.10.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