次の方法で共有


<net.pipe>

名前付きパイプ接続の有効期間を管理し、名前付きパイプを介して到着するアクティベーション要求を処理する名前付きパイプ アクティベーション サービスの構成設定を指定します。

<system.serviceModel.activation>
  <net.pipe>

<configuration>
   <system.serviceModel.activation>
       <net.pipe maxPendingAccepts="Integer"
                    maxPendingConnections="Integer"
          receiveTimeout="TimeSpan">
          <allowAccounts>
             // LocalSystem account
             <add securityIdentifier="S-1-5-18"/>
             // LocalService account
             <add securityIdentifier="S-1-5-19"/>
             // Administrators account
             <add securityIdentifier="S-1-5-20"/>
             // Network Service account
             <add securityIdentifier="S-1-5-32-544" />
             // IIS_IUSRS account (Vista only)
             <add securityIdentifier="S-1-5-32-568"/>
           </allowAccounts>
       </net.pipe>
   </system.serviceModel.activation>
</configuration>

Type

属性および要素

属性

属性 説明

maxPendingAccepts

整数は、共有サービスの待機エンドポイントで同時に受け入れる未処理のスレッドの最大数を示しています。既定値は 2 です。

maxPendingConnections

ディスパッチを待機できる最大接続数を指定する整数。既定値は 100 です。

receiveTimeout

フレーム データを読み取り、基礎となる接続から接続ディスパッチを実行するタイムアウトを指定する Timespan です。既定値は "00:00:10" です。

子要素

要素 説明

<allowAccounts>

WCF をホストするプロセスのユーザー アカウントを指定する securityIdentifier 属性が含まれており、共有サービスへの接続アクセス権が付与される構成要素のコレクションです。

親要素

要素 説明

<system.serviceModel.activation>

リスナ プロセス SMSvcHost.exe の設定が含まれています。

関連項目

リファレンス

NetPipeSection