Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / EventMetricDefinition Class / ContainsKey Method / ContainsKey(String,String,String) Method
The metrics capture system label.
The name of the category with which this definition is associated.
The name of the definition within the category.

In This Topic
    ContainsKey(String,String,String) Method
    In This Topic
    Determines whether the collection of all metric definitions contains an element with the specified key.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function ContainsKey( _
       ByVal metricsSystem As String, _
       ByVal categoryName As String, _
       ByVal counterName As String _
    ) As Boolean
    public static bool ContainsKey( 
       string metricsSystem,
       string categoryName,
       string counterName
    )

    Parameters

    metricsSystem
    The metrics capture system label.
    categoryName
    The name of the category with which this definition is associated.
    counterName
    The name of the definition within the category.

    Return Value

    true if the collection contains an element with the key; otherwise, false.
    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