Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
BinaryPofSerializer..::.Deserialize Method
BinaryPofSerializer Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Deserialize a user type instance from a POF stream by reading its state using the specified IPofReader object.

Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    public Object Deserialize(
    	IPofReader reader
    )

#### Parameters

reader
  Type: Tangosol.IO.Pof..::.IPofReader
  The IPofReader with which to read the object's state.

#### Return Value

The deserialized user type instance.

#### Implements

IPofSerializer..::.Deserialize(IPofReader)

# Remarks

An implementation of IPofSerializer is required to follow the following steps in sequence for reading in an object of a user type:

1. The implementation may read any combination of the properties of the user type by using "read" methods of the IPofReader, but it must do so in the order of the property indexes.
2. After all desired properties of the user type have been read, the implementation must terminate the reading of the user type by calling ReadRemainder()()().

# Exceptions

Exception | Condition
--- | ---
System.IO..::.IOException | If an I/O error occurs.

# See Also

BinaryPofSerializer Class
Tangosol.IO.Pof Namespace