Table of Contents

Class ReIndexOperation

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

Represents a reindex operation.

[Obsolete("This class will be removed in a later version of the driver.")]
public class ReIndexOperation : IWriteOperation<BsonDocument>
Inheritance
ReIndexOperation
Implements
Inherited Members
Extension Methods

Constructors

ReIndexOperation(CollectionNamespace, MessageEncoderSettings)

Initializes a new instance of the ReIndexOperation class.

Properties

CollectionNamespace

Gets the collection namespace.

MessageEncoderSettings

Gets the message encoder settings.

WriteConcern

Gets or sets the write concern (ignored and will eventually be deprecated and later removed).

Methods

Execute(IWriteBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IWriteBinding, CancellationToken)

Executes the operation.