C # in a Nutshell, Second Edition

EventLogPermissionAccess serializable, flag

System.Diagnostics (system.dll) enum

This enumeration is used by EventLogPermissionAttribute . None indicates no access, and Browse allows you to read logs. Instrument allows reading and writing. Audit represents the highest level of access. It lets you read logs, clear a log, monitor events, respond to entries, delete logs and event sources, and enumerate a collection of all logs.

public enum EventLogPermissionAccess { None = 0x00000000 , Browse = 0x00000002 , Instrument = 0x00000006 , Audit = 0x0000000A }

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable , System.IConvertible) EventLogPermissionAccess

Returned By

EventLogPermissionAttribute.PermissionAccess , EventLogPermissionEntry.PermissionAccess

Passed To

EventLogPermission.EventLogPermission( ) , EventLogPermissionAttribute.PermissionAccess , EventLogPermissionEntry.EventLogPermissionEntry( )

Категории