Logging the Events

Once an application has registered itself, it can log events to the Windows event log. To log an event, you would need to set the various event details such as event type, event category, and so on. The Event Logger object has properties to set these details. The LogEvent method actually logs the event.


See Also