Loupe - Log - Monitor - Resolve
Gibraltar.Monitor.Serialization Namespace / CustomSampledMetricDefinitionPacket Class / CustomSampledMetricDefinitionPacket Constructor / CustomSampledMetricDefinitionPacket Constructor(String,String,String,MetricSampleType,String,String)
The unique metric type
The name of the category with which this definition is associated.
The name of the definition within the category.
The specific unit representation of the data being captured for this metric
The display caption for the calculated values captured under this metric.
A description of what is tracked by this metric, suitable for end-user display.

In This Topic
    CustomSampledMetricDefinitionPacket Constructor(String,String,String,MetricSampleType,String,String)
    In This Topic
    Create a new custom sampled metric definition packet from the provided information
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal metricTypeName As String, _
       ByVal categoryName As String, _
       ByVal counterName As String, _
       ByVal metricSampleType As MetricSampleType, _
       ByVal unitCaption As String, _
       ByVal description As String _
    )
    public CustomSampledMetricDefinitionPacket( 
       string metricTypeName,
       string categoryName,
       string counterName,
       MetricSampleType metricSampleType,
       string unitCaption,
       string description
    )

    Parameters

    metricTypeName
    The unique metric type
    categoryName
    The name of the category with which this definition is associated.
    counterName
    The name of the definition within the category.
    metricSampleType
    The specific unit representation of the data being captured for this metric
    unitCaption
    The display caption for the calculated values captured under this metric.
    description
    A description of what is tracked by this metric, suitable for end-user display.
    Remarks
    Definition packets are the lightweight internals used for persistence.
    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