Class MongoServerException
Represents a MongoDB server exception.
[Serializable]
public class MongoServerException : MongoException, ISerializable
- Inheritance
-
MongoServerException
- Implements
- Derived
- Inherited Members
Constructors
- MongoServerException(ConnectionId, string)
Initializes a new instance of the MongoServerException class.
- MongoServerException(ConnectionId, string, Exception)
Initializes a new instance of the MongoServerException class.
- MongoServerException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoServerException class.
Properties
- ConnectionId
Gets the connection identifier.
Methods
- AddErrorLabelsFromCommandResult(MongoServerException, BsonDocument)
Adds error labels from a command result document into the top-level label list.