BinaryMessageEncodingBindingElement.CreateMessageEncoderFactory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.