EventLogWatcher::EventRecordWritten Event
.NET Framework (current version)
Allows setting a delegate (event handler method) that gets called every time an event is published that matches the criteria specified in the event query for this object.
Assembly: System.Core (in System.Core.dll)
For example code using this class, see How to: Subscribe to Events in an Event Log.
.NET Framework
Available since 3.5
Available since 3.5
EventLogWatcher Class
System.Diagnostics.Eventing.Reader Namespace
Technology Summary for Reading and Managing Event Logs
Event Log Scenarios
Show: