Table of Contents

Constructor CommandOperationBase

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

CommandOperationBase(DatabaseNamespace, BsonDocument, IBsonSerializer<TCommandResult>, MessageEncoderSettings)

Initializes a new instance of the CommandOperationBase<TCommandResult> class.

protected CommandOperationBase(DatabaseNamespace databaseNamespace, BsonDocument command, IBsonSerializer<TCommandResult> resultSerializer, MessageEncoderSettings messageEncoderSettings)

Parameters

databaseNamespace DatabaseNamespace

The database namespace.

command BsonDocument

The command.

resultSerializer IBsonSerializer<TCommandResult>

The result serializer.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.