C# Class MongoDB.Driver.MongoDuplicateKeyUpdateException

Raised when an update action causes a unique constraint violation in an index.
It is only another class because Mongo makes a distinction and it may be helpful.
Inheritance: MongoDuplicateKeyException
Show file Open project: sdether/mongodb-csharp

Public Methods

Method Description
MongoDuplicateKeyUpdateException ( string message, Document error ) : System
MongoDuplicateKeyUpdateException ( string message, Document error, Exception e ) : System

Method Details

MongoDuplicateKeyUpdateException() public method

public MongoDuplicateKeyUpdateException ( string message, Document error ) : System
message string
error Document
return System

MongoDuplicateKeyUpdateException() public method

public MongoDuplicateKeyUpdateException ( string message, Document error, Exception e ) : System
message string
error Document
e System.Exception
return System