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:
BerkeleyDBAssembly: libdb_dotnet51 (in libdb_dotnet51.dll) Version: 5.1.19.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
System..::.Exception
BerkeleyDB..::.DatabaseException
BerkeleyDB..::.DeadlockException