Table of Contents

Constructor ClientBulkWriteException

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

ClientBulkWriteException(ConnectionId, string, IReadOnlyDictionary<int, WriteError>, ClientBulkWriteResult, IReadOnlyList<MongoWriteConcernException>, Exception)

Initializes a new instance of the ClientBulkWriteException class.

public ClientBulkWriteException(ConnectionId connectionId, string message, IReadOnlyDictionary<int, WriteError> writeErrors, ClientBulkWriteResult partialResult, IReadOnlyList<MongoWriteConcernException> writeConcernErrors = null, Exception innerException = null)

Parameters

connectionId ConnectionId

The connection identifier.

message string

The error message.

writeErrors IReadOnlyDictionary<int, WriteError>

Errors that occurred during the execution of individual write operations.

partialResult ClientBulkWriteResult

The results of any successful operations that were performed before the error was encountered.

writeConcernErrors IReadOnlyList<MongoWriteConcernException>

Write concern errors that occurred while executing the bulk write.

innerException Exception

The inner exception.