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.8.0.0 (5.8.21.0111)
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