EventLog Constructor
.NET Framework 4.5
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 | |
|---|---|---|
|
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. |