DbExecutionStrategy.ShouldRetryOn Method (Exception)

 

Determines whether the specified exception represents a transient failure that can be compensated by a retry.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

protected internal abstract bool ShouldRetryOn(
	Exception exception
)

Parameters

exception
Type: System.Exception

The exception object to be verified.

Return Value

Type: System.Boolean

true if the specified exception is considered as transient; otherwise, false.