Table of Contents

Class DatabaseExistsOperation

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

Represents a database exists operation.

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

Constructors

DatabaseExistsOperation(DatabaseNamespace, MessageEncoderSettings)

Initializes a new instance of the DatabaseExistsOperation class.

Properties

DatabaseNamespace

Gets the database namespace.

MessageEncoderSettings

Gets the message encoder settings.

RetryRequested

Gets or sets whether or not retry was requested.

Methods

Execute(IReadBinding, CancellationToken)

Executes the operation.

ExecuteAsync(IReadBinding, CancellationToken)

Executes the operation.