EventLogPermissionAttribute(SecurityAction) 构造函数

定义

初始化 EventLogPermissionAttribute 类的新实例。

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

参数

action
SecurityAction

SecurityAction 值之一。

适用于

另请参阅