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