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

In This Topic
    EventMetric Constructor(EventMetricDefinition,String)
    In This Topic
    Create a new event metric object from the provided metric definition
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal definition As EventMetricDefinition, _
       ByVal instanceName As String _
    )
    public EventMetric( 
       EventMetricDefinition 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