Click or drag to resize

IMessageEncoderFactoryGetReplyMessageEncoderTDocument Method

Gets an encoder for a Reply message.

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages.Encoders
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
IMessageEncoder GetReplyMessageEncoder<TDocument>(
	IBsonSerializer<TDocument> serializer
)

Parameters

serializer
Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The serializer.

Type Parameters

TDocument
The type of the document.

Return Value

Type: IMessageEncoder
An encoder.
See Also