TextMessageEncodingBindingElement.CreateMessageEncoderFactory Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a factory for text message encoders that employs the message version and character encoding specified by the current encoding binding element.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public override MessageEncoderFactory CreateMessageEncoderFactory()

Return Value

Type: System.ServiceModel.Channels.MessageEncoderFactory

The MessageEncoderFactory that this factory creates.

TheMessageEncoder objects that the factory produces can read messages from a stream and write them to a stream for specific types of message encoding.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top