Table of Contents

Class EstimatedDocumentCountOperation

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

Represents an estimated document count operation.

public class EstimatedDocumentCountOperation : IReadOperation<long>
Inheritance
EstimatedDocumentCountOperation
Implements
Inherited Members
Extension Methods

Constructors

EstimatedDocumentCountOperation(CollectionNamespace, MessageEncoderSettings)

Initializes a new instance of the EstimatedDocumentCountOperation class.

Properties

CollectionNamespace

Gets the collection namespace.

Comment

Gets or sets the comment.

MaxTime

Gets or sets the maximum time the server should spend on this operation.

MessageEncoderSettings

Gets the message encoder settings.

ReadConcern

Gets or sets the read concern.

RetryRequested

Gets or sets a value indicating whether to retry.

Methods

Execute(IReadBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IReadBinding, CancellationToken)

Executes the operation.