C# Class MongoDB.Driver.MongoQueryException

Inheritance: MongoException
Show file Open project: CloudMetal/mongo-csharp-driver Class Usage Examples

Public Methods

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

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

MongoQueryException ( string message ) : System

Initializes a new instance of the MongoQueryException class.

MongoQueryException ( string message, BsonDocument queryResult ) : System

Initializes a new instance of the MongoQueryException class.

MongoQueryException ( string message, Exception innerException ) : System

Initializes a new instance of the MongoQueryException class.

Method Details

MongoQueryException() public method

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

MongoQueryException() public method

Initializes a new instance of the MongoQueryException class.
public MongoQueryException ( string message ) : System
message string The error message.
return System

MongoQueryException() public method

Initializes a new instance of the MongoQueryException class.
public MongoQueryException ( string message, BsonDocument queryResult ) : System
message string The error message.
queryResult BsonDocument The error document returned by the server.
return System

MongoQueryException() public method

Initializes a new instance of the MongoQueryException class.
public MongoQueryException ( string message, Exception innerException ) : System
message string The error message.
innerException System.Exception The inner exception.
return System