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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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