Click or drag to resize

MongoBulkWriteOperationException Constructor (ConnectionId, BulkWriteOperationResult, IReadOnlyListBulkWriteOperationError, BulkWriteConcernError, IReadOnlyListWriteRequest)

Initializes a new instance of the MongoBulkWriteOperationException class.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public MongoBulkWriteOperationException(
	ConnectionId connectionId,
	BulkWriteOperationResult result,
	IReadOnlyList<BulkWriteOperationError> writeErrors,
	BulkWriteConcernError writeConcernError,
	IReadOnlyList<WriteRequest> unprocessedRequests
)

Parameters

connectionId
Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier.
result
Type: MongoDB.Driver.Core.OperationsBulkWriteOperationResult
The result.
writeErrors
Type: System.Collections.GenericIReadOnlyListBulkWriteOperationError
The write errors.
writeConcernError
Type: MongoDB.Driver.Core.OperationsBulkWriteConcernError
The write concern error.
unprocessedRequests
Type: System.Collections.GenericIReadOnlyListWriteRequest
The unprocessed requests.
See Also