<scopes> 的 <add>

添加可用于在查询时筛选服务终结点的自定义范围 URI。

架构层次结构

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

语法

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

属性和元素

以下几节描述了特性、子元素和父元素。

属性

特性 说明

scope

一个 URI,包含在匹配条件以查找服务时可使用的终结点的范围信息。

子元素

无。

父元素

元素 说明

<scopes>

包含一个配置元素集合,这些元素指定可用于在查询时筛选服务终结点的自定义范围 URI。

另请参见

参考

EndpointDiscoveryBehavior