Windows Dev Center

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.

PerformanceCounterCategoryType Enumeration

Indicates whether the performance counter category can have multiple instances.

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

public enum PerformanceCounterCategoryType
public enum PerformanceCounterCategoryType
public enum PerformanceCounterCategoryType

 Member nameDescription
MultiInstanceThe performance counter category can have multiple instances. 
SingleInstanceThe performance counter category can have only a single instance. 
UnknownThe instance functionality for the performance counter category is unknown.  

There are two types of performance counter categories: single-instance and multi-instance. By default, a category is single-instance when it is created and becomes multi-instance when another instance is added. Categories are created when an application is set up, and instances are added at run time. In the .NET Framework version 1.0 and version 1.1, it is not necessary to know whether a performance counter category is multi-instance or single-instance. In the .NET Framework version 2.0, the PerformanceCounterCategoryType enumeration is used to indicate whether a performance counter can have multiple instances.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

Show:
© 2015 Microsoft