<compositeDuplex>

Defines the binding element that is used when the client must expose an endpoint for the service to send messages back to the client.


<compositeDuplex clientBaseAddress="URI" />

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.

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. Note that Windows Communication Foundation (WCF) auto-generates a ClientBaseAddress if one is not explicitly set by the user.

<compositeDuplex clientBaseAddress="http://www.contoso.com" />


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft