Click or drag to resize
MongoBulkWriteException Constructor (ConnectionId, IEnumerable<BulkWriteError>, WriteConcernError)
Initializes a new instance of the MongoBulkWriteException class.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.2.0
Syntax
public MongoBulkWriteException(
	ConnectionId connectionId,
	IEnumerable<BulkWriteError> writeErrors,
	WriteConcernError writeConcernError
)

Parameters

connectionId
Type: MongoDB.Driver.Core.Connections.ConnectionId
The connection identifier.
writeErrors
Type: System.Collections.Generic.IEnumerable<BulkWriteError>
The write errors.
writeConcernError
Type: MongoDB.Driver.WriteConcernError
The write concern error.
See Also