<useRequestHeadersForMetadataAddress>

Enables the retrieval of metadata address information from the request message headers.

Schema Hierarchy

<system.serviceModel>
  <behaviors>
    <serviceBehaviors>
      <behavior> of <serviceBehaviors>
        <useRequestHeadersForMetadataAddress>

Syntax

<useRequestHeadersForMetadataAddress>   <defaultPorts>      <add scheme="http" port="integer" />   </defaultPorts></useRequestHeadersForMetadataAddress>

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

<defaultPorts>

A collection of default ports listing the default communications endpoints that the client application listens to.

Parent Elements

Element Description

<behavior> of <endpointBehaviors>

Specifies a behavior element.

See Also

Reference

UseRequestHeadersForMetadataAddressElement