次の方法で共有


<discoveryClientSettings>

サービス探索プロセスにクライアントとして参加するためにアプリケーションが必要とする設定を格納します。

スキーマの階層

<system.serviceModel>
  <standardEndpoints>

構文

<system.serviceModel>
    <standardEndpoints>       <dynamicEndpoint>           <standardEndpoint>             <discoveryClientSettings discoveryEndpoint=”String” >               <findCriteria duration=”TimeSpan”                  maxResults=”Integer”                   scopeMatchBy=”Uri” >                  <contractTypeNames>                     <add name="String" namespace="String" />                  <contractTypeNames>                  <extensions />                  <scopes>                    <add scope="URI"/>                  </scopes>               </findCriteria>             </discoveryClientSettings>          <standardEndpoint>       </dynamicEndpoint>            </standardEndpoints>
</system.serviceModel>

属性と要素

以降のセクションでは、属性、子要素、および親要素について説明します。

属性

属性 説明

discoveryEndpoint

クライアント アプリケーションが実行時に探索可能なサービスを自動的に検索し、そのアドレスを見つけることができる探索エンドポイントの名前を含む文字列。

子要素

要素 説明

<standardEndpoints>

探索サービスの検索にクライアント アプリケーションによって使用される一連の基準を提供する構成要素。基準は、(探しているサービスを指定する) 検索条件と (検索をどのくらい続けるかを指定する) 検索終了条件にグループ化できます。

親要素

要素 説明

<standardEndpoints>

アプリケーションが実行時に動的にエンドポイント アドレスを検索するクライアント プログラムとして機能するための情報を格納する標準エンドポイントを定義します。

参照

リファレンス

DiscoveryClientBindingElement
DiscoveryClientSettingsElement