Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Agent.PerformanceCounters Namespace / PerfCounterMetricCollection Class / Add Method / Add(PerformanceCounter) Method
The windows performance counter to add

Add(PerformanceCounter) Method
Create a new metric instance for the provided performance counter object
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal newPerfCounter As PerformanceCounter _
) As PerfCounterMetric
 

Parameters

newPerfCounter
The windows performance counter to add

Return Value

The newly created performance counter metric packet object
Remarks
This will create a new performance counter metric object, add it to this collection, and return it in one call.
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