LosFormatter.Deserialize Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Transforms the specified view-state value to a limited object serialization (LOS)-formatted object.
Overloads
| Deserialize(Stream) | Transforms the view-state value contained in a Stream object to a limited object serialization (LOS)-formatted object. | 
| Deserialize(TextReader) | Transforms the view-state value contained in a TextReader object to a limited object serialization (LOS)-formatted object. | 
| Deserialize(String) | Transforms the specified view-state value to a limited object serialization (LOS)-formatted object. | 
Remarks
Important
Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Validate All Inputs.
Deserialize(Stream)
Transforms the view-state value contained in a Stream object to a limited object serialization (LOS)-formatted object.
public:
 System::Object ^ Deserialize(System::IO::Stream ^ stream);public object Deserialize(System.IO.Stream stream);member this.Deserialize : System.IO.Stream -> objPublic Function Deserialize (stream As Stream) As ObjectParameters
Returns
A LOS-formatted object.
Remarks
This version of the Deserialize method is used to transform the view-state value contained in a Stream object to a LOS-formatted object.
Important
Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Validate All Inputs.
See also
Applies to
Deserialize(TextReader)
Transforms the view-state value contained in a TextReader object to a limited object serialization (LOS)-formatted object.
public:
 System::Object ^ Deserialize(System::IO::TextReader ^ input);public object Deserialize(System.IO.TextReader input);member this.Deserialize : System.IO.TextReader -> objPublic Function Deserialize (input As TextReader) As ObjectParameters
- input
- TextReader
A TextReader that contains the view-state value to transform.
Returns
A LOS-formatted object.
Remarks
This version of the Deserialize method is used to transform the view-state value contained in a TextReader object to a LOS-formatted object.
Important
Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Validate All Inputs.
See also
Applies to
Deserialize(String)
Transforms the specified view-state value to a limited object serialization (LOS)-formatted object.
public:
 System::Object ^ Deserialize(System::String ^ input);public object Deserialize(string input);member this.Deserialize : string -> objPublic Function Deserialize (input As String) As ObjectParameters
- input
- String
The view-state value to transform.
Returns
A LOS-formatted object.
Exceptions
The view state is invalid.
Remarks
This version of the Deserialize method is used to transform the specified view-state value to a LOS-formatted object.
Important
Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Validate All Inputs.