(0) exportieren Drucken
Alle erweitern

BinaryMessageEncodingBindingElement-Klasse

The binding element that specifies the .NET Binary Format for XML is used to encode messages.

Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in system.servicemodel.dll)

public sealed class BinaryMessageEncodingBindingElement : MessageEncodingBindingElement, IWsdlExportExtension, IPolicyExportExtension
public final class BinaryMessageEncodingBindingElement extends MessageEncodingBindingElement implements IWsdlExportExtension, IPolicyExportExtension
public final class BinaryMessageEncodingBindingElement extends MessageEncodingBindingElement implements IWsdlExportExtension, IPolicyExportExtension
Nicht zutreffend.

Encoding is the process of transforming a message into a sequence of bytes. Decoding is the reverse process. Windows Communication Foundation (WCF) includes three types of encoding for SOAP messages: Text, Binary and Message Transmission Optimization Mechanism (MTOM).

The BinaryMessageEncodingBindingElement is the binding element that that specified the .NET Binary Format for XML should be used for encoding messages, and has options to specify the character encoding and the SOAP and WS-Addressing version to be used. Binary encoding is most efficient but least interoperable of the encoding options.

For information on the binding element that specifies messages will be encoded using a textual representation of XML, see TextMessageEncodingBindingElement.

For information on the binding element that specifies messages will be encoded using the MTOM message encoding, see MtomMessageEncodingBindingElement.

To implement a custom message encoder, use the MessageEncodingBindingElement class.

System.Object
   System.ServiceModel.Channels.BindingElement
     System.ServiceModel.Channels.MessageEncodingBindingElement
      System.ServiceModel.Channels.BinaryMessageEncodingBindingElement

Alle öffentlichen statischen (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0 wird unter Windows Vista, Microsoft Windows XP SP2 und Windows Server 2003 SP1 unterstützt.

.NET Framework

Unterstützt in: 3.0
Anzeigen:
© 2014 Microsoft