Table of Contents

Class MongoBulkWriteException<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Represents a bulk write exception.

public sealed class MongoBulkWriteException<TDocument> : MongoBulkWriteException, ISerializable

Type Parameters

TDocument

The type of the document.

Inheritance
MongoBulkWriteException<TDocument>
Implements
Inherited Members

Constructors

MongoBulkWriteException(ConnectionId, BulkWriteResult<TDocument>, IEnumerable<BulkWriteError>, WriteConcernError, IEnumerable<WriteModel<TDocument>>)

Initializes a new instance of the MongoBulkWriteException class.

MongoBulkWriteException(SerializationInfo, StreamingContext)

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

Properties

Result

Gets the result of the bulk write operation.

UnprocessedRequests

Gets the unprocessed requests.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Gets the object data.