Class MongoWriteException
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
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
Gets the write concern error.
Gets the write error.
Methods
GetObjectData(SerializationInfo, StreamingContext)
Gets the object data.