<binaryMessageEncoding> (Silverlight)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
This element configures a binary message encoder that encodes Silverlight messages in binary on the wire that is compatible with the Windows Communication Foundation (WCF) binary message encoder.
Schema Hierarchy
<system.serviceModel> (Silverlight)
<bindings> (Silverlight)
<customBinding> (Silverlight)
<binding> of <customBinding> (Silverlight)
<binaryMessageEncoding> (Silverlight)
Syntax
<customBinding>
<binding>
<binaryMessageEncoding />
</binding>
</customBinding>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child Elements
None
Parent Elements
Element | Description |
---|---|
Defines the binding capabilities of the custom binding. |
Text Value
Remarks
Encoding is the process of transforming a message into a sequence of bytes. Decoding is the reverse process. The binary encoder creates binary-based messages on the wire. This is not an interoperable binding element. The binding can only be used with an WCF using binary message encoding.
Example