Table of Contents

Class RequestMessage

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

Represents a base class for request messages.

[Obsolete("This class will be made internal in a later release.")]
public abstract class RequestMessage : MongoDBMessage, IEncodableMessage
Inheritance
RequestMessage
Implements
Derived
Inherited Members

Constructors

RequestMessage(int, Func<bool>)

Initializes a new instance of the RequestMessage class.

Properties

CurrentGlobalRequestId

Gets the current global request identifier.

RequestId

Gets the request identifier.

ShouldBeSent

Gets a delegate that determines whether this message should be sent.

WasSent

Gets or sets a value indicating whether this message was sent.

Methods

GetNextRequestId()

Gets the next request identifier.