System.Diagnostics.PerformanceData.CounterSet
Defines a set of logical counters.
namespace System.Diagnostics.PerformanceData
{
public class CounterSet : IDisposable
{
public CounterSet(Guid providerGuid, Guid counterSetGuid, CounterSetInstanceType instanceType);
public void AddCounter(int counterId, CounterType counterType);
public void AddCounter(int counterId, CounterType counterType, string counterName);
public CounterSetInstance CreateCounterSetInstance(string instanceName);
public void Dispose();
protected virtual void Dispose(bool disposing);
}
}