System.Diagnostics.EventLogEntry Class

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

See Also: EventLogEntry Members

Syntax

[System.ComponentModel.DesignTimeVisible(false)]
[System.ComponentModel.ToolboxItem(false)]
public sealed class EventLogEntry : System.ComponentModel.Component, System.Runtime.Serialization.ISerializable

Remarks

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.

Requirements

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