Chat Support
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.

Write(EventMetricSample,String) Method
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 _
) 
 

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