Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / EventMetric Class / Write Method / Write(EventMetricSample,String) Method
The metric sample to write.
A meaningless string to fit the overload.

In This Topic
    Write(EventMetricSample,String) 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, _
       ByVal str As String _
    ) 
    [Obsolete("The non-static metricSample.Write() method should be used instead.", true)]
    public static void Write( 
       EventMetricSample metricSample,
       string str
    )

    Parameters

    metricSample
    The metric sample to write.
    str
    A meaningless string to fit the overload.
    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