Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / EventMetric Class / WriteSample Method / WriteSample(EventMetricSample) Method
The metric sample to be written.

In This Topic
    WriteSample(EventMetricSample) Method
    In This Topic
    This is a bogus overload to prevent incorrect usage of this method when attempting to write a metric sample.
    Syntax
    'Declaration
     
    
    <ObsoleteAttribute("The non-static metricSample.Write() method should be used instead.", True)>
    Public Overloads Sub WriteSample( _
       ByVal metricSample As EventMetricSample _
    ) 
    [Obsolete("The non-static metricSample.Write() method should be used instead.", true)]
    public void WriteSample( 
       EventMetricSample metricSample
    )

    Parameters

    metricSample
    The metric sample to be written.
    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