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
ConnectionIdThe connection identifier.
result
BulkWriteOperationResultThe result.
writeErrors
IReadOnlyList<BulkWriteOperationError>The write errors.
writeConcernError
BulkWriteConcernErrorThe 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
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.