Condividi tramite


DbExecutionStrategy.ShouldRetryOn(Exception) Metodo

Definizione

Determina se l'eccezione specificata rappresenta un errore temporaneo che può essere compensato da un nuovo tentativo.

protected internal abstract bool ShouldRetryOn (Exception exception);
abstract member ShouldRetryOn : Exception -> bool

Parametri

exception
Exception

Oggetto eccezione da verificare.

Restituisce

true se l'eccezione specificata viene considerata temporanea, in caso contrario false.

Si applica a