Click or drag to resize

PerfmonObjectCounter Constructor

Constructor for a PerfmonObjectCounter instance

Namespace:  NetQuarry.Diagnostics
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public PerfmonObjectCounter(
	string id,
	string friendlyName,
	string objectID,
	string objectTypeID,
	string categoryName,
	PerformanceCounterType counterType,
	string keyName,
	PerfmonCounterIncrementType incrementMethod,
	Nullable<PerformanceCounterType> baseCounterType = 0
)

Parameters

id
Type: SystemString
The unique identifier for a PerfmonObjectCounter
friendlyName
Type: SystemString
The friendly name for a counter as displayed in the Windows Perfmon Tools
objectID
Type: SystemString
The unique object id of the PerfmonObject this counter is associated with
objectTypeID
Type: SystemString
The object type of the PerfmonObject this counter is associated with
categoryName
Type: SystemString
The Perfmon Counter Category under which this Perfmon Counter is registered.
counterType
Type: System.DiagnosticsPerformanceCounterType
The type of Perfmon Counter being monitored
keyName
Type: SystemString
The developer key name used as a unique identifier for this PerfmonObjectCounter in a collection of PerfmonObjectCounters for a PerfmonObject.
incrementMethod
Type: NetQuarry.DiagnosticsPerfmonCounterIncrementType
The way in which this counter should be incremented, either individually or by adding a specific value
baseCounterType (Optional)
Type: SystemNullablePerformanceCounterType
The base Perfmon Counter Type associated with the primary CounterType
See Also