CommandMessage Class |
Namespace: MongoDB.Driver.Core.WireProtocol.Messages
The CommandMessage type exposes the following members.
Name | Description | |
---|---|---|
CommandMessage |
Initializes a new instance of the CommandMessage class.
|
Name | Description | |
---|---|---|
MayBeCompressed |
Gets the flag whether the message may be compressed or not.
(Overrides MongoDBMessageMayBeCompressed.) | |
MessageType |
Gets the type of the message.
(Overrides MongoDBMessageMessageType.) | |
MoreToCome |
Gets or sets a value indicating whether another message immediately follows this one with no response expected.
| |
PostWriteAction |
Gets or sets the delegate called to after the message has been written by the encoder.
| |
RequestId |
Gets the request identifier.
| |
ResponseExpected |
Gets a value indicating whether a response is expected.
| |
ResponseTo |
Gets the response to.
| |
Sections |
Gets the sections.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetEncoder |
Gets an encoder for the message from an encoder factory.
(Overrides MongoDBMessageGetEncoder(IMessageEncoderFactory).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (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.) |