Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Agent.PerformanceCounters Namespace / PerfCounterMetricDefinition Class / PerfCounterMetricDefinition Constructor
The definitions collection to add this definition to.
The windows performance counter to add a definition for

In This Topic
    PerfCounterMetricDefinition Constructor
    In This Topic
    Create a new performance counter metric definition from the provided performance counter.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal definitions As MetricDefinitionCollection, _
       ByVal newPerformanceCounter As PerformanceCounter _
    )
    public PerfCounterMetricDefinition( 
       MetricDefinitionCollection definitions,
       PerformanceCounter newPerformanceCounter
    )

    Parameters

    definitions
    The definitions collection to add this definition to.
    newPerformanceCounter
    The windows performance counter to add a definition for
    Remarks
    The metric definition will automatically be added to the provided 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