Table of Contents

Class ExplainOperation

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

Represents an explain operation.

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

Constructors

ExplainOperation(DatabaseNamespace, IExplainableOperation, MessageEncoderSettings)

Initializes a new instance of the ExplainOperation class.

Properties

DatabaseNamespace

Gets the database namespace.

ExplainableOperation

Gets the operation to be explained.

MessageEncoderSettings

Gets the message encoder settings.

Verbosity

Gets or sets the verbosity.

Methods

Execute(IReadBinding, CancellationToken)

Executes the operation.

Execute(IWriteBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IReadBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IWriteBinding, CancellationToken)

Executes the operation.