Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventLog Constructor

Initializes a new instance of the EventLog class.

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

  Name Description
Public method EventLog() Initializes a new instance of the EventLog class. Does not associate the instance with any log.
Public method EventLog(String) Initializes a new instance of the EventLog class. Associates the instance with a log on the local computer.
Public method EventLog(String, String) Initializes a new instance of the EventLog class. Associates the instance with a log on the specified computer.
Public method EventLog(String, String, String) Initializes a new instance of the EventLog class. Associates the instance with a log on the specified computer and creates or assigns the specified source to the EventLog.
Top
Show:
© 2014 Microsoft