|
PerformanceCounter(String, String, String, String, String, Single, Boolean) Constructor
|
Namespace: GSF.DiagnosticsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic PerformanceCounter(
string categoryName,
string counterName,
string instanceName,
string aliasName,
string valueUnit,
float valueDivisor,
bool readOnly = true
)
Public Sub New (
categoryName As String,
counterName As String,
instanceName As String,
aliasName As String,
valueUnit As String,
valueDivisor As Single,
Optional readOnly As Boolean = true
)
public:
PerformanceCounter(
String^ categoryName,
String^ counterName,
String^ instanceName,
String^ aliasName,
String^ valueUnit,
float valueDivisor,
bool readOnly = true
)
new :
categoryName : string *
counterName : string *
instanceName : string *
aliasName : string *
valueUnit : string *
valueDivisor : float32 *
?readOnly : bool
(* Defaults:
let _readOnly = defaultArg readOnly true
*)
-> PerformanceCounter
GSF.Diagnostics.PerformanceCounter = function(categoryName, counterName, instanceName, aliasName, valueUnit, valueDivisor, readOnly);
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.
- valueDivisor Single
- The divisor to be applied to the statistical values of the PerformanceCounter object.
- readOnly Boolean (Optional)
- Flag that determines if this counter is read-only.
See Also