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::Close Method ()
.NET Framework (current version)
Closes the event log and releases read and write handles.
Assembly: System (in System.dll)
| Exception | Condition |
|---|---|
| Win32Exception | The event log's read handle or write handle was not released successfully. |
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: