Click or drag to resize

CompressedMessage Constructor

Initializes a new instance of the CompressedMessage class.

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public CompressedMessage(
	MongoDBMessage originalMessage,
	BsonStream originalMessageStream,
	CompressorType compressorType
)

Parameters

originalMessage
Type: MongoDB.Driver.Core.WireProtocol.MessagesMongoDBMessage
The original message.
originalMessageStream
Type: MongoDB.Bson.IOBsonStream
The original message stream.
compressorType
Type: MongoDB.Driver.Core.CompressionCompressorType
The compressor type.
See Also