IsRetryCondition Method
- Last UpdatedNov 06, 2025
- 1 minute read
This recursively evaluates the current exception condition and returns true if the condition warrants a retry. This is only useful if the ExceptionType is of the *DB type
'Usage
Dim instance As MiddlewareException
Dim maxDelay As Integer
Dim value As Boolean
value = instance.IsRetryCondition(maxDelay)
Parameters
- maxDelay
- For deadlock condtions, you can specify the maximum amount of time in milliseconds to sleep
Return Value
True if you should retry the operation