Table of Contents

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 CollectionNamespace

The collection namespace.

documents BatchableSource<TDocument>

The documents.

documentSerializer IBsonSerializer<TDocument>

The document serializer.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.