Click or drag to resize

MongoDuplicateKeyException Properties

The MongoDuplicateKeyException type exposes the following members.

Properties
  NameDescription
Public propertyCode
Gets the error code.
(Inherited from MongoCommandException.)
Public propertyCodeName
Gets the name of the error code.
(Inherited from MongoCommandException.)
Public propertyCommand
Gets the command.
(Inherited from MongoCommandException.)
Public propertyConnectionId
Gets the connection identifier.
(Inherited from MongoServerException.)
Public propertyData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.)
Public propertyErrorLabels
Gets the error labels.
(Inherited from MongoException.)
Public propertyErrorMessage
Gets the error message.
(Inherited from MongoCommandException.)
Public propertyHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
Public propertyHResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception.)
Public propertyInnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Public propertyMessage
Gets a message that describes the current exception.
(Inherited from Exception.)
Public propertyResult
Gets the command result.
(Inherited from MongoCommandException.)
Public propertySource
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
Public propertyStackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from Exception.)
Public propertyTargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)
Public propertyWriteConcernResult
Gets the write concern result.
(Inherited from MongoWriteConcernException.)
Top
See Also