A key/data pair was inserted into the database using PutNoOverwrite(MultipleKeyDatabaseEntry) 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_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.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