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.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
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