<net.tcp>
指定 NET.TCP Port Sharing Service 的組態設定,此服務允許多個處理序共用相同的 TCP 連接埠。
<system.serviceModel.activation>
<net.tcp>
<configuration>
<system.serviceModel.activation>
<net.tcp listenBacklog="Integer"
maxPendingAccepts="Integer"
maxPendingConnections="Integer"
receiveTimeout="TimeSpan"
teredoEnabled="Boolean">
<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.tcp>
</configuration>
Type
屬性和項目
屬性
屬性 | 描述 |
---|---|
listenBacklog |
整數,指定由共用連線所接受但是尚未分派到 Windows Communication Foundation (WCF) 服務之未完成連線的數目上限。預設值為 10。 |
maxPendingAccepts |
整數,指定共用服務之接聽端點上、未完成之並行接收執行緒的數目上限。預設值為 2。 |
MaxPendingConnections |
整數,指定由共用連線所接受但是尚未分派到 WCF 服務之未完成連線的數目上限。預設值為 10。 |
receiveTimeout |
Timespan,指定讀取框架資料以及從基礎連線執行連線分派的逾時。預設為 "00:00:10"。 |
teredoEnabled |
布林值,指出此連接埠共用服務是否使用 Microsoft Teredo 服務代表 WCF 服務來接聽 TCP 連接埠。預設為 false。 |
子項目
項目 | 描述 |
---|---|
組態項目的集合,其中包含 securityIdentifier 屬性,此屬性可為裝載 WCF 服務且已授權可連線共用服務的處理序指定使用者帳戶。 |
父項目
項目 | 描述 |
---|---|
包含 SMSvcHost.exe 接聽項處理序的組態設定。 |
備註
如需連接埠共用的詳細資訊,請參閱 Net.TCP Port Sharing。若要了解如何設定連接埠共用服務,請參閱Configuring the Net.TCP Port Sharing Service。
請參閱
參考
其他資源
Net.TCP Port Sharing
Configuring the Net.TCP Port Sharing Service