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.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
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