Loupe - Log - Monitor - Resolve
Loupe.Agent.PerformanceCounters Namespace / PerfCounterCollection Class / Add Method / Add(String,String,String) Method
The name of the performance counter category (performance object) with which this performance counter is associated.
The name of the performance counter.
The name of the performance counter category instance, or an empty string (""), if the category contains a single instance.

In This Topic
    Add(String,String,String) Method
    In This Topic
    Add a performance counter object to our collection. If it doesn't exist, it will be created.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Add( _
       ByVal categoryName As String, _
       ByVal counterName As String, _
       ByVal instanceName As String _
    ) 

    Parameters

    categoryName
    The name of the performance counter category (performance object) with which this performance counter is associated.
    counterName
    The name of the performance counter.
    instanceName
    The name of the performance counter category instance, or an empty string (""), if the category contains a single instance.
    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