Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Agent.PerformanceCounters Namespace / PerfCounterMetric Class / PerfCounterMetric Constructor / PerfCounterMetric Constructor(PerfCounterMetricDefinition,PerformanceCounter)
The metric definition for the provided windows performance counter
The windows performance counter to add as a metric

PerfCounterMetric Constructor(PerfCounterMetricDefinition,PerformanceCounter)
Create a new performance counter metric object from the provided windows performance counter
Syntax
'Declaration
 
Public Function New( _
   ByVal definition As PerfCounterMetricDefinition, _
   ByVal counter As PerformanceCounter _
)
 

Parameters

definition
The metric definition for the provided windows performance counter
counter
The windows performance counter to add as a metric
Remarks
The new metric will automatically be added to the metric definition's metrics collection.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also