Gets the text associated with the CategoryNumber for this entry.
[Visual Basic] Public ReadOnly Property Category As String [C#] public string Category {get;} [C++] public: __property String* get_Category(); [JScript] public function get Category() : String;
The application-specific category number.
Exception Type | Condition |
---|---|
Exception | The space could not be allocated for one of the insertion strings associated with the Category. |
The text strings associated with the Category are stored in the computer's registry. Windows environment variables are translated before being inserted into the resulting text string.
EventLogEntry Class | EventLogEntry Members | System.Diagnostics Namespace