|
PerformanceMonitorBase.AddCounter(String, String, String, String, String) Method
|
Namespace: GSF.DiagnosticsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic void AddCounter(
string categoryName,
string counterName,
string instanceName,
string aliasName,
string valueUnit
)
Public Sub AddCounter (
categoryName As String,
counterName As String,
instanceName As String,
aliasName As String,
valueUnit As String
)
public:
void AddCounter(
String^ categoryName,
String^ counterName,
String^ instanceName,
String^ aliasName,
String^ valueUnit
)
member AddCounter :
categoryName : string *
counterName : string *
instanceName : string *
aliasName : string *
valueUnit : string -> unit
function AddCounter(categoryName, counterName, instanceName, aliasName, valueUnit);
View SourceParameters
- 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.
- valueUnit String
- The measurement unit for the statistical values of the PerformanceCounter object.
See Also