Partilhar via


<headers>

Entries in the endpoint header collection are user-defined XML elements. Each element has to be well-formed XML.

Schema Hierarchy

<system.serviceModel>
  <client>
    <endpoint> of <client>

Syntax

<headers>
    <Region xmlns="Uri">"String"</Region>
        <Member xmlns="Uri">"String"</Member>
</headers>

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

Region

Member

Parent Elements

Element Description

<endpoint> of <client>

Configures different types of endpoints.

Example

<headers>
    <Region xmlns="http://tempuri.org/">EastCoast</Region>
    <Member xmlns="http://tempuri.org/">Gold</Member>
</headers>

See Also

Reference

IdentityElement
EndpointAddress
Headers
AddressHeaderCollection

Other Resources

Endpoints: Addresses, Bindings, and Contracts


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05