編輯

共用方式為


EventLogPermissionAttribute(SecurityAction) Constructor

Definition

Initializes a new instance of the EventLogPermissionAttribute class.

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)

Parameters

action
SecurityAction

One of the SecurityAction values.

Applies to

See also