Table of Contents

Interface IEncodableMessage

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

Represents an encodable message.

public interface IEncodableMessage

Methods

GetEncoder(IMessageEncoderFactory)

Gets an encoder for the message from an encoder factory.

IMessageEncoder GetEncoder(IMessageEncoderFactory encoderFactory)

Parameters

encoderFactory IMessageEncoderFactory

The encoder factory.

Returns

IMessageEncoder

A message encoder.