Export (0) Print
Expand All

<bindings> (Silverlight)

Silverlight

This element holds a collection of standard and custom bindings. Each entry is a binding element that can be identified uniquely by its name.


<system.serviceModel>
    <bindings>
        <basicHttpBinding />
        <customBinding />
    </bindings>
</system.serviceModel>

The following sections describe attributes, child elements, and parent elements.

Attributes

(None)

Child Elements

Element Description

<basicHttpBinding> (Silverlight)

This section holds a collection of standard bindings. Each entry in the collection is a binding element that can be identified uniquely by its name.

<customBinding> (Silverlight)

This section holds a collection of custom bindings. Each entry in the collection is a binding element that can be identified uniquely by its name.

Parent Elements

Element Description

<system.serviceModel> (Silverlight)

Required. This configuration section contains all of the elements used to configure a Silverlight application to communicate with a Web service.


<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <system.serviceModel>
        <bindings>
           <!-- List of Bindings -->
        </bindings>
        <client>
           <!-- List of Endpoints -->
        </client>
    </system.serviceModel>
</configuration>

Community Additions

ADD
Show:
© 2014 Microsoft