Class MongoConnectionException
Represents a MongoDB connection exception.
[Serializable]
public class MongoConnectionException : MongoException, ISerializable
- Inheritance
-
MongoConnectionException
- Implements
- Derived
- Inherited Members
Constructors
- MongoConnectionException(ConnectionId, string)
Initializes a new instance of the MongoConnectionException class.
- MongoConnectionException(ConnectionId, string, Exception)
Initializes a new instance of the MongoConnectionException class.
- MongoConnectionException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoConnectionException class.
Properties
- ConnectionId
Gets the connection identifier.
- ContainsSocketTimeoutException
Whether or not this exception contains a socket timeout exception.
- ContainsTimeoutException
Whether or not this exception contains a timeout exception.
- IsNetworkException
Determines whether the exception is network error or no.