Constructor MongoClientException
MongoClientException(string)
Initializes a new instance of the MongoClientException class.
public MongoClientException(string message)
Parameters
message
stringThe error message.
MongoClientException(string, Exception)
Initializes a new instance of the MongoClientException class.
public MongoClientException(string message, Exception innerException)
Parameters
MongoClientException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoClientException class.
public MongoClientException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.