MongoBulkWriteExceptionTDocument Constructor (ConnectionId, BulkWriteResultTDocument, IEnumerableBulkWriteError, WriteConcernError, IEnumerableWriteModelTDocument) |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public MongoBulkWriteException(
ConnectionId connectionId,
BulkWriteResult<TDocument> result,
IEnumerable<BulkWriteError> writeErrors,
WriteConcernError writeConcernError,
IEnumerable<WriteModel<TDocument>> unprocessedRequests
)
Public Sub New (
connectionId As ConnectionId,
result As BulkWriteResult(Of TDocument),
writeErrors As IEnumerable(Of BulkWriteError),
writeConcernError As WriteConcernError,
unprocessedRequests As IEnumerable(Of WriteModel(Of TDocument))
)
new :
connectionId : ConnectionId *
result : BulkWriteResult<'TDocument> *
writeErrors : IEnumerable<BulkWriteError> *
writeConcernError : WriteConcernError *
unprocessedRequests : IEnumerable<WriteModel<'TDocument>> -> MongoBulkWriteException
Parameters
- connectionId
- Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier. - result
- Type: MongoDB.DriverBulkWriteResultTDocument
The result. - writeErrors
- Type: System.Collections.GenericIEnumerableBulkWriteError
The write errors. - writeConcernError
- Type: MongoDB.DriverWriteConcernError
The write concern error. - unprocessedRequests
- Type: System.Collections.GenericIEnumerableWriteModelTDocument
The unprocessed requests.
See Also