Table of Contents

Class MongoAuthenticationException

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

Represents a MongoDB authentication exception.

[Serializable]
public class MongoAuthenticationException : MongoConnectionException, ISerializable
Inheritance
MongoAuthenticationException
Implements
Inherited Members

Constructors

MongoAuthenticationException(ConnectionId, string)

Initializes a new instance of the MongoAuthenticationException class.

MongoAuthenticationException(ConnectionId, string, Exception)

Initializes a new instance of the MongoAuthenticationException class.

MongoAuthenticationException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoAuthenticationException class.

Properties

IsNetworkException

Determines whether the exception is network error or no.