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)
'Declaration Public Overridable Function LoadTempData ( _ controllerContext As ControllerContext _ ) As IDictionary(Of String, Object) 'Usage Dim instance As SessionStateTempDataProvider Dim controllerContext As ControllerContext Dim returnValue As IDictionary(Of String, Object) returnValue = instance.LoadTempData(controllerContext)
Parameters
- controllerContext
- Type: System.Web.Mvc.ControllerContext
The controller context.
Implements
ITempDataProvider.LoadTempData(ControllerContext)| Exception | Condition |
|---|---|
| InvalidOperationException | An error occurred when the session context was being retrieved. |
Show: