NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

EventLogEntry.Category

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;

Property Value

The application-specific category number.

Exceptions

Exception Type Condition
Exception The space could not be allocated for one of the insertion strings associated with the Category.

Remarks

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.

See Also

EventLogEntry Class | EventLogEntry Members | System.Diagnostics Namespace