Table of Contents

Class SqlExceptionExtensions

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Extension methods for Microsoft.Data.SqlClient.SqlException class.

public static class SqlExceptionExtensions
Inheritance
object
SqlExceptionExtensions

Methods

HasDeadlockOccured(SqlException)

Returns true when given Microsoft.Data.SqlClient.SqlException is caused by deadlock.

public static bool HasDeadlockOccured(this SqlException exception)

Parameters

exception SqlException

Returns

bool