<scopes>

Contains a collection of configuration elements that specify custom scope Uris that can be used to filter service endpoints during query.

<configuration>
  <system.serviceModel>
    <behaviors>
      <endpointBehaviors>
        <behavior>
          <endpointDiscovery>
            <scopes>

Syntax

<behaviors>
  <endpointBehaviors>
    <behavior name="String">
      <endpointDiscovery enable="Boolean">
        <scopes>
          <add scope="URI" />
        </scopes>
      </endpointDiscovery>
    </behavior>
  </endpointBehaviors>
</behaviors>

Attributes and Elements

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

Attributes

None.

Child Elements

Attribute Description
<add> Adds the scope information for the endpoint that can be used in matching criteria for finding services.

Parent Elements

Element Description
<endpointDiscovery> Specifies the various discovery settings for an endpoint, such as its discoverability, scopes, and any custom extensions to its metadata.

See also