Specifies whether the counter set allows multiple instances such as processes and physical disks, or a single instance such as memory.
Assembly: System.Core (in System.Core.dll)
|The counter set contains single instance counters, for example, a counter that measures physical memory.|
|The counter set contains multiple instance counters, for example, a counter that measures the average disk I/O for a process.|
|The counter set contains single instance counters whose aggregate value is obtained from one or more sources. For example, a counter in this type of counter set might obtain the number of reads from each of the three hard disks on the computer and sum their values.|
|This type is similar to except that this counter set type stores all counter values for the lifetime of the consumer application (the counter value is cached beyond the lifetime of the counter). For example, if one of the hard disks in the global aggregate example were to become unavailable, the total bytes read by that disk would still be available and used to calculate the aggregate value.|
|The counter set contains multiple instance counters whose aggregate value is obtained from all instances of the counter. For example, a counter in this type of counter set might obtain the total thread execution time for all threads in a multithreaded application and sum their values.|
|This type is similar to , except that instead of aggregating all instance data to one aggregated (_Total) instance, it will aggregate counter data from instances of the same name. For example, if multiple provider processes contained instances named IExplore, and CounterSet will show multiple IExplore instances (IExplore, IExplore#1, IExplore#2, and so on); however, a instance type will publish only one IExplore instance with aggregated counter data from all instances named IExplore.|
This type is not supported in Windows Vista.
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.