EventID Property

EventLogEntry.EventID Property

Gets the application-specific event identifier of this event entry.

[Visual Basic]
Public ReadOnly Property EventID As Integer
public int EventID {get;}
public: __property int get_EventID();
public function get EventID() : int;

Property Value

The application-specific identifier for the event.


Event identifiers, together with the event source, uniquely identify an event.


Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

EventLogEntry Class | EventLogEntry Members | System.Diagnostics Namespace

© 2016 Microsoft