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.
PerformanceCounterInstanceLifetime Enumeration
.NET Framework (current version)
Specifies the lifetime of a performance counter instance.
Assembly: System (in System.dll)
| Member name | Description | |
|---|---|---|
| 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.
Note |
|---|
If the CategoryType property is SingleInstance, the InstanceLifetime value for the performance counter must be Global. |
.NET Framework
Available since 2.0
Available since 2.0
Show:
