EventLog::BeginInit Method ()
.NET Framework (current version)
Begins the initialization of an EventLog used on a form or used by another component. The initialization occurs at runtime.
Assembly: System (in System.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | EventLog is already initialized. |
EventLogPermission
for writing the event log information on the computer. Associated enumeration: EventLogPermissionAccess::Write
.NET Framework
Available since 1.1
Available since 1.1
Show: