Windows apps
Collapse the table of content
Expand the table of content
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.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodEventLog()

Initializes a new instance of the EventLog class. Does not associate the instance with any log.

System_CAPS_pubmethodEventLog(String)

Initializes a new instance of the EventLog class. Associates the instance with a log on the local computer.

System_CAPS_pubmethodEventLog(String, String)

Initializes a new instance of the EventLog class. Associates the instance with a log on the specified computer.

System_CAPS_pubmethodEventLog(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.

Return to top
Show:
© 2017 Microsoft