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

In This Topic
    Write(EventMetricSample) Method
    In This Topic
    Write a metric sample to the current process log if it hasn't been written already.
    Syntax
    'Declaration
     
    
    <ObsoleteAttribute("The non-static metricSample.Write() method should be used instead.", True)>
    Public Overloads Shared Sub Write( _
       ByVal metricSample As EventMetricSample _
    ) 
    [Obsolete("The non-static metricSample.Write() method should be used instead.", true)]
    public static void Write( 
       EventMetricSample metricSample
    )

    Parameters

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