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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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