Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / SampledMetric Class / WriteSample Method / WriteSample(Double) Method
The raw data value.

In This Topic
    WriteSample(Double) Method
    In This Topic
    Write a metric sample with the provided data immediately, for non-fraction sampling types.
    Syntax
    'Declaration
     
    
    Public Overloads Sub WriteSample( _
       ByVal rawValue As Double _
    ) 
    public void WriteSample( 
       double rawValue
    )

    Parameters

    rawValue
    The raw data value.
    Remarks
    Sampled metrics using any fraction sampling type should instead use an overload providing both values.
    Example
    For examples, see the Sampled Metric class overview.
    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