Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventLogEntry::Category Property

 

Gets the text associated with the CategoryNumber property for this entry.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public:
property String^ Category {
	String^ get();
}

Property Value

Type: System::String^

The application-specific category text.

Exception Condition
Exception

The space could not be allocated for one of the insertion strings associated with the category.

Each application (event source) can define its own numbered categories and the text strings to which they are mapped. The Event Viewer can use the category to filter events in the log.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft