Table of Contents

Constructor MongoAuthenticationException

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

MongoAuthenticationException(ConnectionId, string)

Initializes a new instance of the MongoAuthenticationException class.

public MongoAuthenticationException(ConnectionId connectionId, string message)

Parameters

connectionId ConnectionId

The connection identifier.

message string

The error message.

MongoAuthenticationException(ConnectionId, string, Exception)

Initializes a new instance of the MongoAuthenticationException class.

public MongoAuthenticationException(ConnectionId connectionId, string message, Exception innerException)

Parameters

connectionId ConnectionId

The connection identifier.

message string

The error message.

innerException Exception

The inner exception.

MongoAuthenticationException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoAuthenticationException class.

public MongoAuthenticationException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.