Click or drag to resize

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