Constructor MongoBulkWriteException
MongoBulkWriteException(ConnectionId, IEnumerable<BulkWriteError>, WriteConcernError)
Initializes a new instance of the Mongo
public MongoBulkWriteException(ConnectionId connectionId, IEnumerable<BulkWriteError> writeErrors, WriteConcernError writeConcernError)
Parameters
connectionId
ConnectionId The connection identifier.
writeErrors
IEnumerable<BulkWrite >Error The write errors.
writeConcernError
WriteConcern Error The write concern error.
MongoBulkWriteException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoQueryException class (this overload supports deserialization).
Parameters
info
SerializationInfo The SerializationInfo.
context
StreamingContext The StreamingContext.