'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.