MongoBulkWriteExceptionTDocument Constructor (ConnectionId, BulkWriteResultTDocument, IEnumerableBulkWriteError, WriteConcernError, IEnumerableWriteModelTDocument) |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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