Windows apps
Collapse the table of content
Expand the table of content
Information
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.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:
© 2016 Microsoft