包含一组配置元素,这些元素指定托管 Windows Communication Foundation (WCF) 服务的进程的用户帐户,并被授予对共享服务的连接访问权限。
<configuration>
<system.serviceModel.activation>
<net.pipe>
<allowAccounts>
Syntax
<allowAccounts>
<add securityIdentifier="String" />
</allowAccounts>
特性和元素
下列各节描述了特性、子元素和父元素。
特性
没有。
子元素
| Attribute | Description |
|---|---|
| <加> | 为托管 WCF 服务的进程添加用户帐户,并被授予对共享服务的连接访问权限 |
父元素
| 元素 | Description |
|---|---|
| <net.pipe> 或 <net.tcp> | 指定 Net Pipe 或 TCP 共享服务的配置设置。 |