Table of Contents

Method GetReplyMessageEncoder

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

GetReplyMessageEncoder<TDocument>(IBsonSerializer<TDocument>)

Gets an encoder for a Reply message.

IMessageEncoder GetReplyMessageEncoder<TDocument>(IBsonSerializer<TDocument> serializer)

Parameters

serializer IBsonSerializer<TDocument>

The serializer.

Returns

IMessageEncoder

An encoder.

Type Parameters

TDocument

The type of the document.