Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / CustomSampledMetric Class / CustomSampledMetric Constructor / CustomSampledMetric Constructor(CustomSampledMetricDefinition,String)
The metric definition for the metric instance
The unique name of this instance within the metric's collection.

In This Topic
    CustomSampledMetric Constructor(CustomSampledMetricDefinition,String)
    In This Topic
    Create a new custom sampled metric object from the provided metric definition
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal definition As CustomSampledMetricDefinition, _
       ByVal instanceName As String _
    )
    public CustomSampledMetric( 
       CustomSampledMetricDefinition definition,
       string instanceName
    )

    Parameters

    definition
    The metric definition for the metric instance
    instanceName
    The unique name of this instance within the metric's collection.
    Remarks
    The new metric will automatically be added to the metric definition's metrics 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