OnMetricSampleRead Method (CustomSampledMetric)
Invoked when deserializing a metric sample to allow inheritors to provide derived implementations Invoked when deserializing a metric sample to allow inheritors to provide derived implementations
'Declaration
Protected Overrides NotOverridable Function OnMetricSampleRead( _
ByVal As MetricSamplePacket _
) As MetricSample
protected override MetricSample OnMetricSampleRead(
MetricSamplePacket
)
Parameters
- packet
- The metric sample packet being deserializedThe metric sample packet being deserialized
Return Value
The metric sample-compatible object.The metric sample-compatible object.
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