Table of Contents

Class MongoQueryException

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

Represents a MongoDB query exception.

[Serializable]
public class MongoQueryException : MongoServerException, ISerializable
Inheritance
MongoQueryException
Implements
Derived
Inherited Members

Constructors

MongoQueryException(ConnectionId, string, BsonDocument, BsonDocument)

Initializes a new instance of the MongoQueryException class.

MongoQueryException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoQueryException class.

Properties

Query

Gets the query.

QueryResult

Gets the query result.

Methods

GetObjectData(SerializationInfo, StreamingContext)