|
PerformanceMonitorAddCounter Method (String, String, String, String, String)
|
Namespace:
GSF.Diagnostics
Assembly:
GSF.Core (in GSF.Core.dll) Version: 2.3.436-beta
Syntax function AddCounter(categoryName, counterName, instanceName, aliasName, valueUnit);
Request Example
View SourceParameters
- categoryName
- Type: SystemString
The name of the performance counter category (performance object) with which this performance counter is associated. - counterName
- Type: SystemString
The name of the performance counter. - instanceName
- Type: SystemString
The name of the performance counter category instance, or an empty string (""), if the category contains a single instance. - aliasName
- Type: SystemString
The alias name for the PerformanceCounter object. - valueUnit
- Type: SystemString
The measurement unit for the statistical values of the PerformanceCounter object.
See Also