SessionStateTempDataProvider.SaveTempData Method (ControllerContext, IDictionary<String, Object>)
Saves the specified values in the temporary data dictionary by using the specified controller context.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- controllerContext
-
Type:
System.Web.Mvc.ControllerContext
The controller context.
- values
-
Type:
System.Collections.Generic.IDictionary<String, Object>
The values.
| Exception | Condition |
|---|---|
| InvalidOperationException | An error occurred the session context was being retrieved. |
Show: