Table of Contents

Constructor MongoBulkWriteOperationException

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

MongoBulkWriteOperationException(ConnectionId, BulkWriteOperationResult, IReadOnlyList<BulkWriteOperationError>, BulkWriteConcernError, IReadOnlyList<WriteRequest>)

Initializes a new instance of the MongoBulkWriteOperationException class.

public MongoBulkWriteOperationException(ConnectionId connectionId, BulkWriteOperationResult result, IReadOnlyList<BulkWriteOperationError> writeErrors, BulkWriteConcernError writeConcernError, IReadOnlyList<WriteRequest> unprocessedRequests)

Parameters

connectionId ConnectionId

The connection identifier.

result BulkWriteOperationResult

The result.

writeErrors IReadOnlyList<BulkWriteOperationError>

The write errors.

writeConcernError BulkWriteConcernError

The write concern error.

unprocessedRequests IReadOnlyList<WriteRequest>

The unprocessed requests.

MongoBulkWriteOperationException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoBulkWriteOperationException class.

public MongoBulkWriteOperationException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.