Table of Contents

Constructor CountDocumentsOperation

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

CountDocumentsOperation(CollectionNamespace, MessageEncoderSettings)

Initializes a new instance of the CountOperation class.

public CountDocumentsOperation(CollectionNamespace collectionNamespace, MessageEncoderSettings messageEncoderSettings)

Parameters

collectionNamespace CollectionNamespace

The collection namespace.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.