The CachePageStatePersister type exposes the following members.

Constructors

  NameDescription
Public methodCachePageStatePersister
Creates the CachePageStatePersister

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Loads the Page State from the Cache
(Overrides PageStatePersister..::..Load()()()().)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave
Saves the Page State to the Cache
(Overrides PageStatePersister..::..Save()()()().)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

Properties

  NameDescription
Public propertyControlState
Gets or sets an object that represents the data that controls contained by the current Page object use to persist across HTTP requests to the Web server.
(Inherited from PageStatePersister.)
Protected propertyPage
Gets or sets the Page object that the view state persistence mechanism is created for.
(Inherited from PageStatePersister.)
Protected propertyStateFormatter
Gets an IStateFormatter object that is used to serialize and deserialize the state information contained in the ViewState and ControlState properties during calls to the Save()()()() and Load()()()() methods.
(Inherited from PageStatePersister.)
Public propertyViewState
Gets or sets an object that represents the data that controls contained by the current Page object use to persist across HTTP requests to the Web server.
(Inherited from PageStatePersister.)

See Also