Gets the application-specific category number for this entry
[Visual Basic] Public ReadOnly Property CategoryNumber As Short [C#] public short CategoryNumber {get;} [C++] public: __property short get_CategoryNumber(); [JScript] public function get CategoryNumber() : Int16;
The entry's category number.
Each application (source) can define its own numbered categories and the text strings to which they are mapped. Categories must be numbered successively, beginning with 1.
EventLogEntry Class | EventLogEntry Members | System.Diagnostics Namespace | EntryType