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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.