Constructor RetryableInsertCommandOperation
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
RetryableInsertCommandOperation(CollectionNamespace, BatchableSource<TDocument>, IBsonSerializer<TDocument>, MessageEncoderSettings)
Initializes a new instance of the RetryableInsertCommandOperation<TDocument> class.
public RetryableInsertCommandOperation(CollectionNamespace collectionNamespace, BatchableSource<TDocument> documents, IBsonSerializer<TDocument> documentSerializer, MessageEncoderSettings messageEncoderSettings)
Parameters
collectionNamespace
CollectionNamespaceThe collection namespace.
documents
BatchableSource<TDocument>The documents.
documentSerializer
IBsonSerializer<TDocument>The document serializer.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.