CommandRequestMessage Constructor

Initializes a new instance of the CommandRequestMessage class.

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax
public CommandRequestMessage(
	CommandMessage wrappedMessage,
	Func<bool> shouldBeSent
)

Parameters

wrappedMessage
Type: MongoDB.Driver.Core.WireProtocol.MessagesCommandMessage
The wrapped message.
shouldBeSent
Type: SystemFuncBoolean
The should be sent.
See Also

Reference