Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Loads the temporary data by using the specified controller context.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Overridable Function LoadTempData ( _
controllerContext As ControllerContext _
) As IDictionary(Of String, Object)
public virtual IDictionary<string, Object> LoadTempData(
ControllerContext controllerContext
)
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)
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | An error occurred when the session context was being retrieved. |