指定命名管道激活服务的配置设置,命名管道激活服务将管理命名管道连接的生存期,并处理通过命名管道到达的激活请求。
<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” |
子元素
元素 | 说明 |
---|---|
一个配置元素集合,这些元素所包含的 securityIdentifier 属性用于指定进程的用户帐户,这些进程承载 WCF 服务并被授予了对该共享服务的连接访问权限。 |
父元素
元素 | 说明 |
---|---|
包含侦听器进程 SMSvcHost.exe 的配置设置。 |