DbExecutionStrategy.ShouldRetryOn(Exception) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si l’exception spécifiée représente un échec temporaire qui peut être compensé par une nouvelle tentative.
protected internal abstract bool ShouldRetryOn(Exception exception);
abstract member ShouldRetryOn : Exception -> bool
Paramètres
- exception
- Exception
Objet d’exception à vérifier.
Retours
true si l’exception spécifiée est considérée comme temporaire, sinon false.