<useRequestHeadersForMetadataAddress>
Enables the retrieval of metadata address information from the request message headers.
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<useRequestHeadersForMetadataAddress>
<useRequestHeadersForMetadataAddress>
<defaultPorts>
<add scheme="http"
port="integer" />
</defaultPorts>
</useRequestHeadersForMetadataAddress>
The following sections describe attributes, child elements, and parent elements.
None.
Element | Description |
---|---|
<defaultPorts> | A collection of default ports listing the default communications endpoints that the client application listens to. |
Element | Description |
---|---|
<behavior> | Specifies a behavior element. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: