DbExecutionStrategy.GetNextDelay Method (Exception)
Determines whether the operation should be retried and the delay before the next attempt.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- lastException
-
Type:
System.Exception
The exception thrown during the last execution attempt.
Return Value
Type: System.Nullable<TimeSpan>The delay indicating how long to wait for before the next execution attempt if the operation should be retried; otherwise, null.