<scopes> 的 <add>

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

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

语法

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

特性和元素

下列各节描述了特性、子元素和父元素。

特性

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

子元素

无。

父元素

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

另请参阅