Deserializes an object state graph from its binary-serialized form that is contained in the specified System.IO.Stream object.
- inputStream
A System.IO.Stream that the System.Web.UI.ObjectStateFormatter deserializes into an initialized object.
![]()
An object that represents a deserialized object state graph.
Any object state graph that is serialized with the erload:System.Web.UI.ObjectStateFormatter.Serialize method can be deserialized with the erload:System.Web.UI.ObjectStateFormatter.Deserialize method. The ObjectStateFormatter.Deserialize(System.IO.Stream) method is used to restore an object state graph stored in a System.IO.Stream, such as a System.IO.FileStream.
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.