RetryableInsertCommandOperationTDocument Constructor |
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax public RetryableInsertCommandOperation(
CollectionNamespace collectionNamespace,
BatchableSource<TDocument> documents,
IBsonSerializer<TDocument> documentSerializer,
MessageEncoderSettings messageEncoderSettings
)
Public Sub New (
collectionNamespace As CollectionNamespace,
documents As BatchableSource(Of TDocument),
documentSerializer As IBsonSerializer(Of TDocument),
messageEncoderSettings As MessageEncoderSettings
)
new :
collectionNamespace : CollectionNamespace *
documents : BatchableSource<'TDocument> *
documentSerializer : IBsonSerializer<'TDocument> *
messageEncoderSettings : MessageEncoderSettings -> RetryableInsertCommandOperation
Parameters
- collectionNamespace
- Type: MongoDB.DriverCollectionNamespace
The collection namespace. - documents
- Type: MongoDB.Driver.Core.MiscBatchableSourceTDocument
The documents. - documentSerializer
- Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The document serializer. - messageEncoderSettings
- Type: MongoDB.Driver.Core.WireProtocol.Messages.EncodersMessageEncoderSettings
The message encoder settings.
See Also