Class CommandMessage
- Namespace
- MongoDB.Driver.Core.WireProtocol.Messages
- Assembly
- MongoDB.Driver.Core.dll
Represents a command message.
public sealed class CommandMessage : MongoDBMessage, IEncodableMessage
- Inheritance
-
CommandMessage
- Implements
- Inherited Members
Constructors
- CommandMessage(int, int, IEnumerable<CommandMessageSection>, bool)
Initializes a new instance of the CommandMessage class.
Properties
- ExhaustAllowed
Gets or sets a value indicating whether multiple responses might be returned from the server or not.
- MayBeCompressed
Gets the flag whether the message may be compressed or not.
- MessageType
Gets the type of the message.
- 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.
Methods
- GetEncoder(IMessageEncoderFactory)
Gets an encoder for the message from an encoder factory.