Share via


<compositeDuplex>

Defines two-way messaging to the custom binding.

<system.serviceModel>

  <bindings>

    <customBinding>

      <binding>

        <compositeDuplex>

                                    
                                    <compositeDuplex clientBaseAddress="URI" />
                                

Attributes and Elements

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

Attributes

Attribute Description

clientBaseAddress

A URI that sets the address of the back channel in duplex mode. The service uses this address to make contact and establish a connection with the client.

If this attribute is not set, a default address “full qualified name+default port\TemporaryIndigoAddress\guid” is generated. The default is null.

Child Elements

None

Parent Elements

Element Description

<binding>

Defines all binding capabilities of the custom binding.

Remarks

This configuration element is used with transports that do not allow duplex communications natively, for example, HTTP. TCP, by contrast, allows duplex communications natively, and does not require the use of this binding element for the service to send messages back to a client.

The client must expose an address for the service to make contact and establish a connection. This client address is provided by the clientBaseAddress attribute.

Example

<compositeDuplex clientBaseAddress="http://test.com" />

See Also

Reference

CompositeDuplexElement

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.