MongoBulkWriteExceptionTDocument Constructor (ConnectionId, BulkWriteResultTDocument, IEnumerableBulkWriteError, WriteConcernError, IEnumerableWriteModelTDocument) |
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.3.0
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