Click or drag to resize

TaskServerMetricsRead Method

Reads the object from the specified reader.

Namespace: Ookii.Jumbo.Jet
Assembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public void Read(
	BinaryReader reader
)

Parameters

reader  BinaryReader
The BinaryReader to deserialize the object from.

Implements

IWritableRead(BinaryReader)
Remarks

This object instance may have been created using GetUninitializedObject(Type) so the Read(BinaryReader) method may not make any assumptions about the internal state of the object, and must ensure the object is in a consistent state afterwards.

When record reuse is enabled, the Read(BinaryReader) method will be called multiple times on the same instance. The Read(BinaryReader) method must replace the entire internal state of the object with that of the new record. If any of the object's internal state is stored in reference types, it's recommended to reuse object instances as much as possible.

See Also