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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax IMessageEncoder GetReplyMessageEncoder<TDocument>(
IBsonSerializer<TDocument> serializer
)
Function GetReplyMessageEncoder(Of TDocument) (
serializer As IBsonSerializer(Of TDocument)
) As IMessageEncoder
abstract 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.
See Also