.Net Framework > v3.5.21022.8 > System > Diagnostics > Eventing > Reader > EventLogWatcher EventLogWatcher
Category
Class
Description
Allows you to subscribe to incoming events. Each time a desired event is published to an event log, the System.Diagnostics.Eventing.Reader.EventLogWatcher.EventRecordWritten event is raised, and the method that handles this event will be executed.
Assembly
System.Core
Character
public
Attributes
NameValue/Assignment
HostProtectionAttributeSystem.Security.Permissions.SecurityAction.LinkDemand; MayLeakOnAbort=True
Ancestors
Object
Implements
IDisposable
Contstructors
EventLogWatcher(EventLogQuery)
EventLogWatcher(EventLogQuery,EventBookmark)
EventLogWatcher(EventLogQuery,EventBookmark,Boolean)
EventLogWatcher(String)
Properties
Enabled
Events
EventRecordWritten
Methods
Dispose()
Dispose(Boolean)
Tags
0103E2B958, 02E3ABA98D, 0322962271
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples