Delen via


SessionStateTempDataProvider Class

Definition

Provides session-state data to the current TempDataDictionary object.

public class SessionStateTempDataProvider : System.Web.Mvc.ITempDataProvider
type SessionStateTempDataProvider = class
    interface ITempDataProvider
Public Class SessionStateTempDataProvider
Implements ITempDataProvider
Inheritance
SessionStateTempDataProvider
Implements

Constructors

SessionStateTempDataProvider()

Initializes a new instance of the SessionStateTempDataProvider class.

Methods

LoadTempData(ControllerContext)

Loads the temporary data by using the specified controller context.

SaveTempData(ControllerContext, IDictionary<String,Object>)

Saves the specified values in the temporary data dictionary by using the specified controller context.

Applies to