Constructor MongoException
MongoException(string)
Initializes a new instance of the MongoException class.
public MongoException(string message)
Parameters
message
stringThe 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
info
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.