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.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
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