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.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
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