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
Afficher le fichier Open project: sdether/mongodb-csharp

Méthodes publiques

Méthode Description
MongoDuplicateKeyUpdateException ( string message, Document error ) : System
MongoDuplicateKeyUpdateException ( string message, Document error, Exception e ) : System

Method Details

MongoDuplicateKeyUpdateException() public méthode

public MongoDuplicateKeyUpdateException ( string message, Document error ) : System
message string
error Document
Résultat System

MongoDuplicateKeyUpdateException() public méthode

public MongoDuplicateKeyUpdateException ( string message, Document error, Exception e ) : System
message string
error Document
e System.Exception
Résultat System