System.Diagnostics.EventLogEntry Class

Encapsulates a single record in the event log. This class cannot be inherited.

See Also: EventLogEntry Members


public sealed class EventLogEntry : System.ComponentModel.Component, System.Runtime.Serialization.ISerializable


You usually will not create instances of System.Diagnostics.EventLogEntry directly when working with the System.Diagnostics.EventLog class. The EventLog.Entries member of the System.Diagnostics.EventLog class contains a collection of System.Diagnostics.EventLogEntry instances, which you iterate over when reading by using the EventLogEntryCollection.Item(int) class index member.


Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,