次の方法で共有


<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