Assembly.PermissionSet Assembly.PermissionSet Assembly.PermissionSet Assembly.PermissionSet Property

定义

获取当前程序集的授予集。Gets the grant set of the current assembly.

public:
 virtual property System::Security::PermissionSet ^ PermissionSet { System::Security::PermissionSet ^ get(); };
[get: System.Security.SecurityCritical]
public virtual System.Security.PermissionSet PermissionSet { get; }
member this.PermissionSet : System.Security.PermissionSet
Public Overridable ReadOnly Property PermissionSet As PermissionSet

属性值

当前程序集的授予集。The grant set of the current assembly.

注解

PermissionSet对象可以包含敏感信息, 如路径。PermissionSet objects can contain sensitive information such as paths. 因此, 访问这些对象需要完全信任。Therefore, full trust is required to access these objects.

安全性

SecurityCriticalAttribute
需要对直接调用方的完全信任。requires full trust for the immediate caller. 部分受信任的或透明的代码不能使用此成员。This member cannot be used by partially trusted or transparent code.

适用于