PermissionSetAttribute(SecurityAction) 构造函数

定义

使用指定的安全操作初始化 PermissionSetAttribute 类的新实例。

public:
 PermissionSetAttribute(System::Security::Permissions::SecurityAction action);
public PermissionSetAttribute (System.Security.Permissions.SecurityAction action);
new System.Security.Permissions.PermissionSetAttribute : System.Security.Permissions.SecurityAction -> System.Security.Permissions.PermissionSetAttribute
Public Sub New (action As SecurityAction)

参数

action
SecurityAction

指定安全操作的枚举值之一。

适用于