BinaryMessageEncodingBindingElement.CreateMessageEncoderFactory Method ()

 
System_CAPS_noteNote

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 binary message encoders that employ the SOAP and WS-Addressing versions and the 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 binding element creates.

TheMessageEncoder objects that the factory produces can read and write messages using the binary message encoding.

MessageEncoderFactory mef = be.CreateMessageEncoderFactory();

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