Constructor MongoQueryException
MongoQueryException(ConnectionId, string, BsonDocument, BsonDocument)
Initializes a new instance of the MongoQueryException class.
public MongoQueryException(ConnectionId connectionId, string message, BsonDocument query, BsonDocument queryResult)
Parameters
connectionId
ConnectionIdThe connection identifier.
message
stringThe message.
query
BsonDocumentThe query.
queryResult
BsonDocumentThe query result.
MongoQueryException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoQueryException class.
protected MongoQueryException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.