Udostępnij za pośrednictwem


<scopes>

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

Schema Hierarchy

<system.serviceModel>
  <behaviors>
    <endpointBehaviors>
      <behavior> of <endpointBehaviors>
        <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> of <scopes>

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

Reference

EndpointDiscoveryBehavior