Table of Contents

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 Exception
errorNumbers IEnumerable<int>

Returns

bool

ShouldRetryOn(Exception)

public static bool ShouldRetryOn(Exception ex)

Parameters

ex Exception

Returns

bool