Class CommandRequestMessage
- Namespace
- MongoDB.Driver.Core.WireProtocol.Messages
- Assembly
- MongoDB.Driver.Core.dll
Represents a command request message.
[Obsolete("This class will be made internal in a later release.")]
public class CommandRequestMessage : RequestMessage, IEncodableMessage
- Inheritance
-
CommandRequestMessage
- Implements
- Inherited Members
Constructors
- CommandRequestMessage(CommandMessage, Func<bool>)
Initializes a new instance of the CommandRequestMessage class.
Properties
- MayBeCompressed
Gets the flag whether the message may be compressed or not.
- MessageType
Gets the type of the message.
- WrappedMessage
Gets the wrapped message.
Methods
- GetEncoder(IMessageEncoderFactory)
Gets an encoder for the message from an encoder factory.