Constructor MongoConnectionException
MongoConnectionException(ConnectionId, string)
Initializes a new instance of the MongoConnectionException class.
public MongoConnectionException(ConnectionId connectionId, string message)
Parameters
connectionId
ConnectionIdThe connection identifier.
message
stringThe error message.
MongoConnectionException(ConnectionId, string, Exception)
Initializes a new instance of the MongoConnectionException class.
public MongoConnectionException(ConnectionId connectionId, string message, Exception innerException)
Parameters
connectionId
ConnectionIdThe connection identifier.
message
stringThe error message.
innerException
ExceptionThe inner exception.
MongoConnectionException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoConnectionException class.
public MongoConnectionException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.