Click or drag to resize

JsonMessageEncoderFactory Constructor (TextReader, MessageEncoderSettings)

Initializes a new instance of the JsonMessageEncoderFactory class.

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages.Encoders.JsonEncoders
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
public JsonMessageEncoderFactory(
	TextReader textReader,
	MessageEncoderSettings encoderSettings
)

Parameters

textReader
Type: System.IOTextReader
The text reader.
encoderSettings
Type: MongoDB.Driver.Core.WireProtocol.Messages.EncodersMessageEncoderSettings
The encoder settings.
See Also