Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EventLog Constructor

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:
© 2015 Microsoft