Click or drag to resize

JsonMessageEncoderFactory Constructor (TextWriter, 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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public JsonMessageEncoderFactory(
	TextWriter textWriter,
	MessageEncoderSettings encoderSettings
)

Parameters

textWriter
Type: System.IOTextWriter
The text writer.
encoderSettings
Type: MongoDB.Driver.Core.WireProtocol.Messages.EncodersMessageEncoderSettings
The encoder settings.
See Also