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.

Name Description
EventLog () Initializes a new instance of the EventLog class. Does not associate the instance with any log.
EventLog (String) Initializes a new instance of the EventLog class. Associates the instance with a log on the local computer.
EventLog (String, String) Initializes a new instance of the EventLog class. Associates the instance with a log on the specified computer.
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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft