Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor.Serialization Namespace / CustomSampledMetricSamplePacket Class / CustomSampledMetricSamplePacket Constructor / CustomSampledMetricSamplePacket Constructor(CustomSampledMetric,Double,Double,DateTimeOffset)
The metric this sample is for
The raw data value
The reference value to compare against for come counter types
The exact date and time the raw value was determined

In This Topic
    CustomSampledMetricSamplePacket Constructor(CustomSampledMetric,Double,Double,DateTimeOffset)
    In This Topic
    Create a complete custom sampled metric packet
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal metric As CustomSampledMetric, _
       ByVal rawValue As Double, _
       ByVal baseValue As Double, _
       ByVal rawTimeStamp As DateTimeOffset _
    )
    public CustomSampledMetricSamplePacket( 
       CustomSampledMetric metric,
       double rawValue,
       double baseValue,
       DateTimeOffset rawTimeStamp
    )

    Parameters

    metric
    The metric this sample is for
    rawValue
    The raw data value
    baseValue
    The reference value to compare against for come counter types
    rawTimeStamp
    The exact date and time the raw value was determined
    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