Table of Contents

Class MongoConnectionClosedException

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

Represents a MongoDB connection failed exception.

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

Constructors

MongoConnectionClosedException(ConnectionId)

Initializes a new instance of the MongoConnectionClosedException class.

MongoConnectionClosedException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoConnectionClosedException class.

Properties

IsNetworkException

Determines whether the exception is network error or no.