Strategy. Get Next Delay(Exception) Method
Determines whether the operation should be retried and the delay before the next attempt.
protected virtual TimeSpan? GetNextDelay (Exception lastException);
abstract member GetNextDelay : Exception -> Nullable<TimeSpan> override this.GetNextDelay : Exception -> Nullable<TimeSpan>
Protected Overridable Function GetNextDelay (lastException As Exception) As Nullable(Of TimeSpan)
The exception thrown during the last execution attempt.
Returns the delay indicating how long to wait for before the next execution attempt if the operation should be retried;