Ejemplo n.º 1
0
 /// <summary>
 /// Determines whether the specified exception represents a transient failure that can be compensated by a retry.
 /// </summary>
 /// <param name="ex">The exception object to be verified.</param>
 /// <returns>true if the specified exception is considered as transient; otherwise, false.</returns>
 public bool IsTransient(Exception ex)
 {
     return(SqlUtils.TransientErrorDetector(ex) || _transientFaultDetector(ex));
 }