C# Class MongoDB.Driver.MongoSafeModeException

Inheritance: MongoException
Datei anzeigen Open project: CloudMetal/mongo-csharp-driver

Public Methods

Method Description
MongoSafeModeException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the MongoSafeModeException class (this overload supports deserialization).

MongoSafeModeException ( string message, CommandResult commandResult ) : System

Initializes a new instance of the MongoSafeModeException class.

Method Details

MongoSafeModeException() public method

Initializes a new instance of the MongoSafeModeException class (this overload supports deserialization).
public MongoSafeModeException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The SerializationInfo.
context System.Runtime.Serialization.StreamingContext The StreamingContext.
return System

MongoSafeModeException() public method

Initializes a new instance of the MongoSafeModeException class.
public MongoSafeModeException ( string message, CommandResult commandResult ) : System
message string The error message.
commandResult CommandResult The command result.
return System