TempDataDictionary(HttpContext, ITempDataProvider) Constructor
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.
Initializes a new instance of the TempDataDictionary class.
public:
TempDataDictionary(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataProvider ^ provider);
public TempDataDictionary (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider provider);
new Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionary : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider -> Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionary
Public Sub New (context As HttpContext, provider As ITempDataProvider)
Parameters
- context
- HttpContext
The HttpContext.
- provider
- ITempDataProvider
The ITempDataProvider used to Load and Save data.