DbExecutionStrategy.ShouldRetryOn Method (Exception)
Determines whether the specified exception represents a transient failure that can be compensated by a retry.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- exception
-
Type:
System.Exception
The exception object to be verified.
Return Value
Type: System.Booleantrue if the specified exception is considered as transient; otherwise, false.