Click or drag to resize
MongoDBMessageGetEncoder 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.3.0
Syntax
public abstract 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