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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft