Class SqlServerTransientExceptionDetector
- Namespace
- LinqToDB.DataProvider.SqlServer
- Assembly
- linq2db.dll
Detects the exceptions caused by SQL Server transient failures.
public static class SqlServerTransientExceptionDetector
- Inheritance
-
SqlServerTransientExceptionDetector
Methods
IsHandled(Exception, out IEnumerable<int>?)
public static bool IsHandled(Exception ex, out IEnumerable<int>? errorNumbers)
Parameters
ex
ExceptionerrorNumbers
IEnumerable<int>
Returns
ShouldRetryOn(Exception)
public static bool ShouldRetryOn(Exception ex)
Parameters
ex
Exception