Table of Contents

Constructor RequestMessage

Namespace
MongoDB.Driver.Core.WireProtocol.Messages
Assembly
MongoDB.Driver.Core.dll

RequestMessage(int, Func<bool>)

Initializes a new instance of the RequestMessage class.

protected RequestMessage(int requestId, Func<bool> shouldBeSent = null)

Parameters

requestId int

The request identifier.

shouldBeSent Func<bool>

A delegate that determines whether this message should be sent.