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.CategoryNumber

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;

Property Value

The entry's category number.

Remarks

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.

See Also

EventLogEntry Class | EventLogEntry Members | System.Diagnostics Namespace | EntryType