Constructor MongoAuthenticationException
MongoAuthenticationException(ConnectionId, string)
Initializes a new instance of the MongoAuthenticationException class.
public MongoAuthenticationException(ConnectionId connectionId, string message)
Parameters
connectionIdConnectionIdThe connection identifier.
messagestringThe error message.
MongoAuthenticationException(ConnectionId, string, Exception)
Initializes a new instance of the MongoAuthenticationException class.
public MongoAuthenticationException(ConnectionId connectionId, string message, Exception innerException)
Parameters
connectionIdConnectionIdThe connection identifier.
messagestringThe error message.
innerExceptionExceptionThe inner exception.
MongoAuthenticationException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoAuthenticationException class.
public MongoAuthenticationException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo.
contextStreamingContextThe StreamingContext.