Bewerken

Delen via


BinaryMessageEncodingBindingElement.CreateMessageEncoderFactory Method

Definition

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.

public:
 override System::ServiceModel::Channels::MessageEncoderFactory ^ CreateMessageEncoderFactory();
public override System.ServiceModel.Channels.MessageEncoderFactory CreateMessageEncoderFactory ();
override this.CreateMessageEncoderFactory : unit -> System.ServiceModel.Channels.MessageEncoderFactory
Public Overrides Function CreateMessageEncoderFactory () As MessageEncoderFactory

Returns

The MessageEncoderFactory that this binding element creates.

Examples

MessageEncoderFactory mef = be.CreateMessageEncoderFactory();
Dim mef As MessageEncoderFactory = be.CreateMessageEncoderFactory()

Remarks

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

Applies to