Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / SampledMetricDefinition Class / TryGetValue Method

In This Topic
    TryGetValue Method (SampledMetricDefinition)
    In This Topic
    Retrieve a SampledMetricDefinition by its Id, if present. (Throws an ArgumentException if the Id resolves to an EventMetricDefinition instead.)
    Overload List
    OverloadDescription
    Retrieve a SampledMetricDefinition by its Id, if present. (Throws an ArgumentException if the Id resolves to an EventMetricDefinition instead.)  
    Retrieve a SampledMetricDefinition by its combined three-part Key string, if present.  
    Retrieve a SampledMetricDefinition by its three key strings (metrics system, category name, and counter name), if present.  
    Find an existing sampled metric definition previously registered via SampledMetric and SampledMetricValue attributes on a specific Type, by its counter name.  
    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