Table of Contents

Class ListCollectionsOperation

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

Represents a list collections operation.

[Obsolete("This class will be made internal in a later release.")]
public class ListCollectionsOperation : IReadOperation<IAsyncCursor<BsonDocument>>, IExecutableInRetryableReadContext<IAsyncCursor<BsonDocument>>
Inheritance
ListCollectionsOperation
Implements
Inherited Members
Extension Methods

Constructors

ListCollectionsOperation(DatabaseNamespace, MessageEncoderSettings)

Initializes a new instance of the ListCollectionsOperation class.

Properties

AuthorizedCollections

Gets or sets the AuthorizedCollections flag.

BatchSize

Gets or sets the batch size.

Comment

Gets or sets the comment.

DatabaseNamespace

Gets the database namespace.

Filter

Gets or sets the filter.

MessageEncoderSettings

Gets the message encoder settings.

NameOnly

Gets or sets the name only option.

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.