PerformanceMonitorBaseAddCounter(String, String, String, String) Method

Adds a PerformanceCounter to be monitored.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.187 -- Release Build+1f3ed8b6221c2b087349bd4a0f5f67d184969372
public void AddCounter(
	string categoryName,
	string counterName,
	string instanceName,
	string aliasName
)

Parameters

categoryName  String
The name of the performance counter category (performance object) with which this performance counter is associated.
counterName  String
The name of the performance counter.
instanceName  String
The name of the performance counter category instance, or an empty string (""), if the category contains a single instance.
aliasName  String
The alias name for the PerformanceCounter object.

See Also