ConfigurationPermissionAttribute(SecurityAction) 构造函数

定义

初始化 ConfigurationPermissionAttribute 类的新实例。

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

参数

action
SecurityAction

SecurityAction 的枚举成员表示的安全操作。 确定特性的权限状态。

适用于

另请参阅