<bindings> (Silverlight)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Syntax

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

Attributes and Elements

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.

Text Value

Remarks

Example

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

See Also

Reference

Binding