Constructor MongoException
MongoException(string)
Initializes a new instance of the MongoException class.
public MongoException(string message)
Parameters
messagestringThe error message.
MongoException(string, Exception)
Initializes a new instance of the MongoException class.
public MongoException(string message, Exception innerException)
Parameters
MongoException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoException class.
public MongoException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo.
contextStreamingContextThe StreamingContext.