Table of Contents

Constructor CommandRequestMessage

Namespace
MongoDB.Driver.Core.WireProtocol.Messages
Assembly
MongoDB.Driver.Core.dll

CommandRequestMessage(CommandMessage, Func<bool>)

Initializes a new instance of the CommandRequestMessage class.

public CommandRequestMessage(CommandMessage wrappedMessage, Func<bool> shouldBeSent)

Parameters

wrappedMessage CommandMessage

The wrapped message.

shouldBeSent Func<bool>

The should be sent.