Table of Contents

Class DbExceptionTransientExceptionDetector

Namespace
LinqToDB.Data.RetryPolicy
Assembly
linq2db.dll

Detects the exceptions caused by transient failures. Provider must implement DbException IsTransient property.

public static class DbExceptionTransientExceptionDetector
Inheritance
object
DbExceptionTransientExceptionDetector

Methods

ShouldRetryOn(Exception)

public static bool ShouldRetryOn(Exception ex)

Parameters

ex Exception

Returns

bool