Class MongoQueryException
Represents a MongoDB query exception.
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)
When overridden in a derived class, sets the SerializationInfo with information about the exception.