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