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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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