Deserializes the specified stream into an object graph. The provided HeaderHandler handles any headers in that stream.
Public Function Deserialize ( _ serializationStream As Stream, _ handler As HeaderHandler _ ) As Object
public Object Deserialize( Stream serializationStream, HeaderHandler handler )
public: virtual Object^ Deserialize( Stream^ serializationStream, HeaderHandler^ handler ) sealed
abstract Deserialize : serializationStream:Stream * handler:HeaderHandler -> Object override Deserialize : serializationStream:Stream * handler:HeaderHandler -> Object
The serializationStream is nullNothingnullptra null reference (Nothing in Visual Basic).
The serializationStream supports seeking, but its length is 0.
-or-
The target type is a Decimal, but the value is out of range of the Decimal type.
The caller does not have the required permission.
Headers are used only for specific remoting applications.
In order for deserialization to succeed the current position in the stream must be at the beginning of the object graph.
To provide serialization services. Associated enumeration: SecurityPermissionFlag..::.SerializationFormatter.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2