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
connectionIdConnectionIdThe connection identifier.
messagestringThe message.
queryBsonDocumentThe query.
queryResultBsonDocumentThe query result.
MongoQueryException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoQueryException class.
protected MongoQueryException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo.
contextStreamingContextThe StreamingContext.