Class MongoDBMessage
- Namespace
- MongoDB.Driver.Core.WireProtocol.Messages
- Assembly
- MongoDB.Driver.Core.dll
Represents a base class for messages.
public abstract class MongoDBMessage : IEncodableMessage
- Inheritance
-
MongoDBMessage
- Implements
- Derived
- Inherited Members
Properties
- MayBeCompressed
Gets the flag whether the message may be compressed or not.
- MessageType
Gets the type of the message.
Methods
- GetEncoder(IMessageEncoderFactory)
Gets an encoder for the message from an encoder factory.