Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / EventMetricValueAttribute Class / EventMetricValueAttribute Constructor
The unique name of this value column within the event.
An aggregation summary to best interpret this value column for graphing. (use SummaryFunction.Count for non-math types)
A displayable caption for the units this value represents, or null for unit-less values.

In This Topic
    EventMetricValueAttribute Constructor
    In This Topic
    Add the current field, property, or method as a value column in the event metric using its declared Type and the specified name, unit caption and summary function.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal name As String, _
       ByVal summaryFunction As SummaryFunction, _
       ByVal unitCaption As String _
    )
    public EventMetricValueAttribute( 
       string name,
       SummaryFunction summaryFunction,
       string unitCaption
    )

    Parameters

    name
    The unique name of this value column within the event.
    summaryFunction
    An aggregation summary to best interpret this value column for graphing. (use SummaryFunction.Count for non-math types)
    unitCaption
    A displayable caption for the units this value represents, or null for unit-less values.
    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