Click or drag to resize

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.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
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