This documentation is archived and is not being maintained.

EventLogWatcher Constructor

Initializes a new instance of the EventLogWatcher class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method EventLogWatcher(EventLogQuery) Initializes a new instance of the EventLogWatcher class by specifying an event query.
Public method EventLogWatcher(String) Initializes a new instance of the EventLogWatcher class by specifying the name or path to an event log.
Public method EventLogWatcher(EventLogQuery, EventBookmark) Initializes a new instance of the EventLogWatcher class by specifying an event query and a bookmark that is used as starting position for the query.
Public method EventLogWatcher(EventLogQuery, EventBookmark, Boolean) Initializes a new instance of the EventLogWatcher class by specifying an event query, a bookmark that is used as starting position for the query, and a Boolean value that determines whether to read the events that already exist in the event log.
Top
Show: