Table of Contents

Class MongoWriteException

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Represents a write exception.

public class MongoWriteException : MongoServerException, ISerializable
Inheritance
MongoWriteException
Implements
Inherited Members

Constructors

MongoWriteException(ConnectionId, WriteError, WriteConcernError, Exception)

Initializes a new instance of the MongoWriteException class.

MongoWriteException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoQueryException class (this overload supports deserialization).

Properties

WriteConcernError

Gets the write concern error.

WriteError

Gets the write error.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Gets the object data.