NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BinaryFormatter.Deserialize (Stream, HeaderHandler)

Deserializes the stream into an object graph, with any headers in that stream being handled by HeaderHandler.

[Visual Basic]
Overloads Overridable Public Function Deserialize( _
   ByVal serializationStream As Stream, _
   ByVal handler As HeaderHandler _
) As Object
[C#]
public virtual object Deserialize(
   Stream serializationStream,
   HeaderHandler handler
);
[C++]
public: virtual Object* Deserialize(
   Stream* serializationStream,
   HeaderHandler* handler
);
[JScript]
public function Deserialize(
   serializationStream : Stream,
   handler : HeaderHandler
) : Object;

Parameters

serializationStream
[To be supplied.]
handler
Delegate to handle any headers found on the stream. May be null

Return Value

The top (root) of the object graph

Remarks

Headers are used only for specific remoting applications. For the moment, you should supply null for the HeaderHandler argument.

See Also

BinaryFormatter Class | BinaryFormatter Members | System.Runtime.Serialization.Formatters.Binary Namespace | BinaryFormatter.Deserialize Overload List