Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SessionStateTempDataProvider.LoadTempData Method

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<string, Object> LoadTempData(
	ControllerContext controllerContext
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.

Return Value

Type: System.Collections.Generic.IDictionary<String, Object>
The temporary data.

Implements

ITempDataProvider.LoadTempData(ControllerContext)
ExceptionCondition
InvalidOperationException

An error occurred when the session context was being retrieved.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.