Class MongoWriteConcernException
Represents a MongoDB write concern exception.
[Serializable]
public class MongoWriteConcernException : MongoCommandException, ISerializable
- Inheritance
-
MongoWriteConcernException
- Implements
- Derived
- Inherited Members
Constructors
- MongoWriteConcernException(ConnectionId, string, WriteConcernResult)
Initializes a new instance of the MongoWriteConcernException class.
- MongoWriteConcernException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoWriteConcernException class.
Properties
- MappedWriteConcernResultException
Gets the mapped write concern result exception.
- WriteConcernResult
Gets the write concern result.
Methods
- IsWriteConcernErrorOnly()
Determines whether the exception is due to a write concern error only.