namespace System.Web
{
-#if NET_4_0
[TypeForwardedFrom ("System.Web.Abstractions, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
-#endif
[AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class HttpResponseWrapper : HttpResponseBase
public override TextWriter Output {
get { return w.Output; }
-#if NET_4_0
set { w.Output = value; }
-#endif
}
public override Stream OutputStream {
{
w.Redirect (url, endResponse);
}
-#if NET_4_0
public override void RedirectPermanent (string url)
{
w.RedirectPermanent (url);
{
HttpResponse.RemoveOutputCacheItem (path, providerName);
}
-#endif
public override void RemoveOutputCacheItem (string path)
{
HttpResponse.RemoveOutputCacheItem (path);