|
PerformanceMonitorAddCounter Method (String, String, String)
|
Namespace:
GSF.Diagnostics
Assembly:
GSF.Core (in GSF.Core.dll) Version: 2.3.436-beta
Syntax Public Sub AddCounter (
categoryName As String,
counterName As String,
instanceName As String
)
public:
void AddCounter(
String^ categoryName,
String^ counterName,
String^ instanceName
)
member AddCounter :
categoryName : string *
counterName : string *
instanceName : string -> unit
function AddCounter(categoryName, counterName, instanceName);
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.
See Also