Table of Contents

Class MongoWriteConcernException

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

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

GetObjectData(SerializationInfo, StreamingContext)
IsWriteConcernErrorOnly()

Determines whether the exception is due to a write concern error only.