PipeStream.GetAccessControl 方法

定义

获取一个 PipeSecurity 对象,该对象封装当前 PipeStream 对象所描述管道的访问控制列表 (ACL) 项。Gets a PipeSecurity object that encapsulates the access control list (ACL) entries for the pipe described by the current PipeStream object.

public:
 System::IO::Pipes::PipeSecurity ^ GetAccessControl();
[System.Security.SecurityCritical]
public System.IO.Pipes.PipeSecurity GetAccessControl ();
public System.IO.Pipes.PipeSecurity GetAccessControl ();
member this.GetAccessControl : unit -> System.IO.Pipes.PipeSecurity
Public Function GetAccessControl () As PipeSecurity

返回

一个 PipeSecurity 对象,该对象封装当前 PipeStream 对象所描述管道的访问控制列表 (ACL) 项。A PipeSecurity object that encapsulates the access control list (ACL) entries for the pipe described by the current PipeStream object.

属性

例外

管道已关闭。The pipe is closed.

用于设置安全信息的基础调用失败。The underlying call to set security information failed.

用于设置安全信息的基础调用失败。The underlying call to set security information failed.

用于设置安全信息的基础调用失败。The underlying call to set security information failed.

注解

访问控制列表(ACL)介绍了在指定文件上执行特定操作的权限,或不具有权限的个人和/或组。An access control list (ACL) describes individuals and/or groups that have, or do not have, rights to perform specific actions on a specified file. 有关详细信息,请参阅如何:添加或移除访问控制列表项For more information, see How to: Add or Remove Access Control List Entries.

适用于