SessionStateTempDataProvider.LoadTempData(ControllerContext) Method

Definition

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.

Applies to