<system.serviceModel.activation>
這個組態區段表示 SMSvcHost.exe 工具的組態設定。 組態項目可於 SMSvcHost.exe.config 檔案中設定。 具體來說,它包含了所有必須設定的整個電腦設定。
<configuration>
<system.serviceModel.activation>
範例組態檔
以下為範例組態檔 (SMSvcHost.exe.config),由 SMSvcHost.exe 接聽程式處理序使用。
<configuration>
<runtime>
<gcConcurrent enabled="false" />
</runtime>
<system.serviceModel.activation>
<net.tcp listenBacklog="10"
maxPendingAccepts="2"
maxPendingConnections="100"
receiveTimeout="00:00:10"
teredoEnabled="false">
<allowAccounts>
<!-- LocalSystem account -->
<add securityIdentifier="S-1-5-18"/>
<!-- LocalService account -->
<add securityIdentifier="S-1-5-19"/>
<!-- Network Service account -->
<add securityIdentifier="S-1-5-20"/>
<!-- Administrators account -->
<add securityIdentifier="S-1-5-32-544" />
<!-- IIS_IUSRS account (Vista only) -->
<add securityIdentifier="S-1-5-32-568"/>
</allowAccounts>
</net.tcp>
<net.pipe maxConnectionsPendingDispatch="100"
maxPendingAccepts="2"
receiveTimeout="00:00:10">
<allowAccounts>
<!-- LocalSystem account -->
<add securityIdentifier="S-1-5-18" />
<!-- LocalService account -->
<add securityIdentifier="S-1-5-19" />
<!-- Network Service account -->
<add securityIdentifier="S-1-5-20" />
<!-- Administrators account -->
<add securityIdentifier="S-1-5-32-544" />
<!-- IIS_IUSRS account (Vista only) -->
<add securityIdentifier="S-1-5-32-568" />
</allowAccounts>
</net.pipe>
<diagnostics performanceCountersEnabled="true" />
</system.serviceModel.activation>
</configuration>