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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method WriteEvent(EventInstance, Object[]) Writes a localized entry to the event log.
Public method WriteEvent(EventInstance, Byte[], Object[]) Writes an event log entry with the given event data, message replacement strings, and associated binary data.
Public method Static member WriteEvent(String, EventInstance, Object[]) Writes an event log entry with the given event data and message replacement strings, using the specified registered event source.
Public method Static member WriteEvent(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.
Top
Show:
© 2014 Microsoft