RequestMessage Class |
Namespace: MongoDB.Driver.Core.WireProtocol.Messages
The RequestMessage type exposes the following members.
Name | Description | |
---|---|---|
RequestMessage |
Initializes a new instance of the RequestMessage class.
|
Name | Description | |
---|---|---|
CurrentGlobalRequestId |
Gets the current global request identifier.
| |
MessageType |
Gets the type of the message.
(Inherited from MongoDBMessage.) | |
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.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEncoder |
Gets an encoder for the message from an encoder factory.
(Inherited from MongoDBMessage.) | |
GetHashCode | (Inherited from Object.) | |
GetNextRequestId |
Gets the next request identifier.
| |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |