Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Agent.PerformanceCounters Namespace / PerfCounterMetric Class / GetPerformanceCounter() Method

In This Topic
    GetPerformanceCounter() Method
    In This Topic
    The windows performance counter for this metric.
    Syntax
    'Declaration
     
    
    Public Function GetPerformanceCounter() As PerformanceCounter
    public PerformanceCounter GetPerformanceCounter()
    Remarks
    A new object is returned every time this method is called. Clients should cache this object for a set of continuous operations, but should not cache it for any length of time for reliability reasons.
    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