Class EventLogHandler
Defines handlers for events related to records in the system's Event log.
public sealed class EventLogHandler : AdvancedHandler<EventLogHandler, LogEventArgs>
- Inheritance
-
objectEventLogHandler
- Inherited Members
- Extension Methods
Methods
Start(EventLogInfo)
Commences the event by invoking the registered Before event handlers. Returns a handle for completing the event.
public IAdvancedEventHandle<LogEventArgs> Start(EventLogInfo eventObject)
Parameters
eventObject
EventLogInfoEvent object.
Returns
- IAdvancedEventHandle<LogEventArgs>
Returns a handle for completing the event.
StartEvent(EventLogInfo)
Initiates the event handling
[Obsolete("Use Start(EventLogInfo) instead.")]
[ObsoleteSince(30, 2)]
public EventLogHandler StartEvent(EventLogInfo eventObject)
Parameters
eventObject
EventLogInfoEvent object