Edit

Kongsi melalui


HiddenFieldPageStatePersister.Load Method

Definition

Deserializes and loads persisted state information from an HttpRequest object when a Page object initializes its control hierarchy.

public:
 override void Load();
public override void Load ();
override this.Load : unit -> unit
Public Overrides Sub Load ()

Exceptions

The Load() method could not successfully deserialize the state information contained in the request to the Web server.

Remarks

The HiddenFieldPageStatePersister class implements the Load method to load page and control state information from an incoming request to the Web server. The ObjectStateFormatter object accessed by the StateFormatter property is used to deserialize the data.

Applies to

See also