EventLog::WriteEntry Method
Writes an entry in the event log.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | WriteEntry(String^) | Writes an information type entry, with the given message text, to the event log. |
![]() | WriteEntry(String^, EventLogEntryType) | Writes an error, warning, information, success audit, or failure audit entry with the given message text to the event log. |
![]() | WriteEntry(String^, EventLogEntryType, Int32) | Writes an entry with the given message text and application-defined event identifier to the event log. |
![]() | WriteEntry(String^, EventLogEntryType, Int32, Int16) | Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log. |
![]() | WriteEntry(String^, EventLogEntryType, Int32, Int16, array<Byte>^) | Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log, and appends binary data to the message. |
![]() ![]() | WriteEntry(String^, String^) | Writes an information type entry with the given message text to the event log, using the specified registered event source. |
![]() ![]() | WriteEntry(String^, String^, EventLogEntryType) | Writes an error, warning, information, success audit, or failure audit entry with the given message text to the event log, using the specified registered event source. |
![]() ![]() | WriteEntry(String^, String^, EventLogEntryType, Int32) | Writes an entry with the given message text and application-defined event identifier to the event log, using the specified registered event source. |
![]() ![]() | WriteEntry(String^, String^, EventLogEntryType, Int32, Int16) | Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log, using the specified registered event source. The category can be used by the Event Viewer to filter events in the log. |
![]() ![]() | WriteEntry(String^, String^, EventLogEntryType, Int32, Int16, array<Byte>^) | Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log (using the specified registered event source) and appends binary data to the message. |

