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.7.0.0 (5.7.0)
Syntax public TimeSpan GetNextDelayPeriod(
int attemptNumber
)
Public Function GetNextDelayPeriod (
attemptNumber As Integer
) As TimeSpan
Parameters
- attemptNumber
- Type: SystemInt32
The attempt number.
Return Value
Type:
TimeSpanThe minimum of the maximum delay specified in the ctor and the calculated value.
See Also