CreateMessageEncoderFactory Method
Collapse the table of content
Expand the table of content

TextMessageEncodingBindingElement.CreateMessageEncoderFactory Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

'Declaration
Public Overrides Function CreateMessageEncoderFactory As MessageEncoderFactory

Return Value

Type: System.ServiceModel.Channels.MessageEncoderFactory
The MessageEncoderFactory that this factory creates.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft