System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize Method

Deserializes the data on the provided stream and reconstitutes the graph of objects.

Syntax

public object Deserialize (System.IO.Stream serializationStream)

Parameters

serializationStream
The stream that contains the data to deserialize.

Returns

The top object of the deserialized graph (root).

Remarks

For successful deserialization, the current position in the stream must be at the beginning of the object graph.

Note:

Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see tp://go.microsoft.com/fwlink/?LinkId=330378.

Requirements

Namespace: System.Runtime.Serialization.Formatters.Soap
Assembly: System.Runtime.Serialization.Formatters.Soap (in System.Runtime.Serialization.Formatters.Soap.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0