SessionStateTempDataProvider.LoadTempData(ControllerContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the temporary data by using the specified controller context.
public virtual System.Collections.Generic.IDictionary<string,object> LoadTempData (System.Web.Mvc.ControllerContext controllerContext);
abstract member LoadTempData : System.Web.Mvc.ControllerContext -> System.Collections.Generic.IDictionary<string, obj>
override this.LoadTempData : System.Web.Mvc.ControllerContext -> System.Collections.Generic.IDictionary<string, obj>
Public Overridable Function LoadTempData (controllerContext As ControllerContext) As IDictionary(Of String, Object)
Parameters
- controllerContext
- ControllerContext
The controller context.
Returns
The temporary data.
Implements
Exceptions
An error occurred when the session context was being retrieved.