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