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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft