<net.pipe>

指定 Named Pipe Activation Service 的組態設定,該服務會管理具名管道連線的存留期,並且會處理透過具名管道送達的啟用要求。

<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>

組態項目的集合,其中包含 securityIdentifier 屬性,此屬性可為裝載 WCF 服務且已授權可連線共用服務的處理序指定使用者帳戶。

父項目

項目 描述

<system.serviceModel.activation>

包含 SMSvcHost.exe 接聽項處理序的組態設定。

請參閱

參考

NetPipeSection