LosFormatter.Deserialize Method

Definition

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 -> obj
Public Function Deserialize (stream As Stream) As Object

Parameters

stream
Stream

A Stream that contains the view-state value to transform.

Returns

Object

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 -> obj
Public Function Deserialize (input As TextReader) As Object

Parameters

input
TextReader

A TextReader that contains the view-state value to transform.

Returns

Object

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 -> obj
Public Function Deserialize (input As String) As Object

Parameters

input
String

The view-state value to transform.

Returns

Object

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.

See also

Applies to