<add> of <scopes>

Adds a custom scope Uri that can be used to filter service endpoints during query.

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

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

Attribute Description
scope A URI that contains scope information for the endpoint that can be used in matching criteria for finding services.

Child Elements

None.

Parent Elements

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

See also