When multiple threads of control are modifying the database, there is normally the potential for deadlock. In Berkeley DB, deadlock is signified by a DeadlockException thrown from the Berkeley DB function. Whenever a Berkeley DB function throws a DeadlockException, the enclosing transaction should be aborted.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

Syntax

C#
public class DeadlockException : DatabaseException
Visual Basic (Declaration)
Public Class DeadlockException _
	Inherits DatabaseException
Visual C++
public ref class DeadlockException : public DatabaseException

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    BerkeleyDB..::.DatabaseException
      BerkeleyDB..::.DeadlockException

See Also