EventLog::WriteEvent Method
.NET Framework (current version)
Writes a localized event entry to the event log.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | WriteEvent(EventInstance^, array<Byte>^, array<Object^>^) | Writes an event log entry with the given event data, message replacement strings, and associated binary data. |
![]() | WriteEvent(EventInstance^, array<Object^>^) | Writes a localized entry to the event log. |
![]() ![]() | WriteEvent(String^, EventInstance^, array<Byte>^, array<Object^>^) | Writes an event log entry with the given event data, message replacement strings, and associated binary data, and using the specified registered event source. |
![]() ![]() | WriteEvent(String^, EventInstance^, array<Object^>^) | Writes an event log entry with the given event data and message replacement strings, using the specified registered event source. |
Show:

