<system.serviceModel.activation>
此配置节描述了 SMSvcHost.exe 工具的配置设置。 配置元素可在 SMSvcHost.exe.config 文件中配置。 具体地说,它包括计算机中所有必须配置的设置。
configuration
<system.serviceModel.activation>
示例配置文件
下面是侦听器进程 SMSvcHost.exe 所使用的示例配置文件 (SMSvcHost.exe.config)。
<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>