A key/data pair was inserted into the database using PutNoOverwrite(DatabaseEntry, DatabaseEntry) and the key already exists in the database, or using PutNoDuplicate(DatabaseEntry, DatabaseEntry) or PutNoDuplicate(DatabaseEntry, DatabaseEntry) and the key/data pair already exists in the database.

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

Syntax

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

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    BerkeleyDB..::.DatabaseException
      BerkeleyDB..::.KeyExistException

See Also