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.

适用于