C# Class MongoDB.Driver.MongoDuplicateKeyException

Raised when an action causes a unique constraint violation in an index.
Inheritance: MongoOperationException
Afficher le fichier Open project: sdether/mongodb-csharp Class Usage Examples

Méthodes publiques

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

Method Details

MongoDuplicateKeyException() public méthode

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

MongoDuplicateKeyException() public méthode

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