BinaryMessageEncoderFactoryGetReplyMessageEncoderTDocument Method |
Gets an encoder for a Reply message.
Namespace:
MongoDB.Driver.Core.WireProtocol.Messages.Encoders.BinaryEncoders
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public IMessageEncoder GetReplyMessageEncoder<TDocument>(
IBsonSerializer<TDocument> serializer
)
Public Function GetReplyMessageEncoder(Of TDocument) (
serializer As IBsonSerializer(Of TDocument)
) As IMessageEncoder
abstract GetReplyMessageEncoder :
serializer : IBsonSerializer<'TDocument> -> IMessageEncoder
override GetReplyMessageEncoder :
serializer : IBsonSerializer<'TDocument> -> IMessageEncoder
Parameters
- serializer
- Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The serializer.
Type Parameters
- TDocument
- The type of the document.
Return Value
Type:
IMessageEncoderAn encoder.
Implements
IMessageEncoderFactoryGetReplyMessageEncoderTDocument(IBsonSerializerTDocument)See Also