Click or drag to resize

CommandMessageGetEncoder Method

Gets an encoder for the message from an encoder factory.

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public override IMessageEncoder GetEncoder(
	IMessageEncoderFactory encoderFactory
)

Parameters

encoderFactory
Type: MongoDB.Driver.Core.WireProtocol.Messages.EncodersIMessageEncoderFactory
The encoder factory.

Return Value

Type: IMessageEncoder
A message encoder.

Implements

IEncodableMessageGetEncoder(IMessageEncoderFactory)
See Also