.NET Framework 4.6 and 4.5
Specifies the lifetime of a performance counter instance.
public enum PerformanceCounterInstanceLifetime
|Global||Remove the performance counter instance when no counters are using the process category.|
|Process||Remove the performance counter instance when the process is closed.|
The default behavior is Global, which specifies the removal of the performance counter instance when no counters are using the process category.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1