Table of Contents

Class ListIndexesUsingCommandOperation

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

Represents a list indexes operation.

public class ListIndexesUsingCommandOperation : IReadOperation<IAsyncCursor<BsonDocument>>, IExecutableInRetryableReadContext<IAsyncCursor<BsonDocument>>
Inheritance
ListIndexesUsingCommandOperation
Implements
Inherited Members
Extension Methods

Constructors

ListIndexesUsingCommandOperation(CollectionNamespace, MessageEncoderSettings)

Initializes a new instance of the ListIndexesUsingCommandOperation class.

Properties

BatchSize

Gets or sets the batch size.

CollectionNamespace

Gets the collection namespace.

Comment

Gets or sets the comment.

MessageEncoderSettings

Gets the message encoder settings.

RetryRequested

Gets or sets whether or not retry was requested.

Methods

Execute(IReadBinding, CancellationToken)

Executes the operation.

Execute(RetryableReadContext, CancellationToken)

Executes the first attempt.

ExecuteAsync(IReadBinding, CancellationToken)

Executes the operation.

ExecuteAsync(RetryableReadContext, CancellationToken)

Executes the first attempt.