EventLog.WriteEvent Method

 

Writes a localized event entry to the event log.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodWriteEvent(EventInstance, Byte[], Object[])

Writes an event log entry with the given event data, message replacement strings, and associated binary data.

System_CAPS_pubmethodWriteEvent(EventInstance, Object[])

Writes a localized entry to the event log.

System_CAPS_pubmethodSystem_CAPS_staticWriteEvent(String, EventInstance, Byte[], 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.

System_CAPS_pubmethodSystem_CAPS_staticWriteEvent(String, EventInstance, Object[])

Writes an event log entry with the given event data and message replacement strings, using the specified registered event source.

Return to top
Show: