Muokkaa

Jaa


<defaultPorts>

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

<configuration>
  <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <useRequestHeadersForMetadataAddress>
            <defaultPorts>

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
<add> of <defaultPorts> A default communications endpoint that the client application listens to.

Parent Elements

Element Description
<useRequestHeadersForMetadataAddress> A list of default ports.

See also