Table of Contents

Class CommandRequestMessage

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

Represents a command request message.

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.

See Also