EntryWrittenEventArgs::Entry Property
.NET Framework (current version)
Gets the event log entry that was written to the log.
Assembly: System (in System.dll)
Property Value
Type: System.Diagnostics::EventLogEntry^An EventLogEntry that represents the entry that was written to the event log.
The following example assumes that you have already implemented the sample in EntryWrittenEventArgs(EventLogEntry^).
It creates a custom EventLog object and writes an entry into it. Then it creates an EntryWrittenEventArgs object using the first entry in the custom EventLog. This object is used to notify a message.
.NET Framework
Available since 1.1
Available since 1.1
Show: