SessionStateTempDataProvider.LoadTempData Method (ControllerContext)

 

Loads the temporary data by using the specified controller context.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public virtual IDictionary<stringobject> LoadTempData(
	ControllerContext controllerContext
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

Return Value

Type: System.Collections.Generic.IDictionary<StringObject>

The temporary data.

Exception Condition
InvalidOperationException

An error occurred when the session context was being retrieved.

Return to top
Show: