KeyContainerPermissionAttribute(SecurityAction) 构造函数

定义

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

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

参数

action
SecurityAction

SecurityAction 值之一。

适用于