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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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