Class MongoDuplicateKeyException
Represents a MongoDB duplicate key exception.
public class MongoDuplicateKeyException : MongoWriteConcernException, ISerializable
- Inheritance
-
MongoDuplicateKeyException
- Implements
- Inherited Members
Constructors
- MongoDuplicateKeyException(ConnectionId, string, WriteConcernResult)
Initializes a new instance of the MongoDuplicateKeyException class.
- MongoDuplicateKeyException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoDuplicateKeyException class.