HttpApplicationStateWrapper Class
Encapsulates the HTTP intrinsic object that enables information to be shared across multiple requests and sessions within an ASP.NET application.
Assembly: System.Web.Abstractions (in System.Web.Abstractions.dll)
[AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)] [AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)] public ref class HttpApplicationStateWrapper : public HttpApplicationStateBase
The HttpApplicationStateWrapper class derives from the HttpApplicationStateBase class and serves as a wrapper for the HttpApplicationState class. This class exposes the functionality of the HttpApplicationState class while also exposing the HttpApplicationStateBase type. The HttpApplicationStateBase class enables you to replace the original implementation of the HttpApplicationState class in your application with a custom implementation, such as when you perform unit testing outside the ASP.NET pipeline.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
System.Collections.Specialized::NameObjectCollectionBase
System.Web::HttpApplicationStateBase
System.Web::HttpApplicationStateWrapper
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.