Draft for Information Only
Content
Links of HttpResponse Class from docs.microsoft.com HttpResponse Class Remarks Constructors Properties Methods Applies to
Links of HttpResponse Class from docs.microsoft.com
Source/Reference:
https://docs.microsoft.com/en-us/dotnet/api/system.web.httpresponse?view=netframework-4.8
HttpResponse Class
Encapsulates HTTP-response information from an ASP.NET operation.
public sealed class HttpResponse
Inheritance Object --> HttpResponse
Note:
In code, the HttpResponse object is referred to by the keyword Response. For example, Response.Clear() refers to the HttpResponse.Clear method. The Page class has a property that is named Response that exposes the current instance of
HttpResponse .
Remarks
The methods and properties of the HttpResponse class are exposed through the Response property of the HttpApplication , HttpContext , Page , and
UserControl classes.
The following methods of the HttpResponse class are supported only in post back scenarios and not in asynchronous post back scenarios:
Partial-page updates are enabled when you use UpdatePanel controls to update selected regions of a page instead of updating the whole page with a post back. For more information, see UpdatePanel Control Overview and Partial-Page Rendering Overview .
Constructors
Properties
Methods
AddCacheDependency(CacheDependency[])
AddCacheItemDependencies(ArrayList)
AddCacheItemDependencies(String[])
AddCacheItemDependency(String)
AddFileDependencies(ArrayList)
AddFileDependencies(String[])
AddFileDependency(String)
AddHeader(String, String) : AddHeader(String, String)
AddOnSendingHeaders(Action<HttpContext>)
AppendCookie(HttpCookie)
AppendHeader(String, String)
AppendToLog(String)
ApplyAppPathModifier(String) : Cookieless Cookieless ApplyAppPathModifier(String)
BeginFlush(AsyncCallback, Object)
BinaryWrite(Byte[])
Clear()
ClearContent()
ClearHeaders()
Close()
DisableKernelCache()
DisableUserCache()
End() : EndRequest
EndFlush(IAsyncResult)
Equals(Object) : Object
Flush()
FlushAsync()
GetHashCode() : Object
GetType() : Type Object
MemberwiseClone() : Object Object
Pics(String)
PushPromise(String) : HTTP/2 Specification Section 8.2: Server Push
PushPromise(String, String, NameValueCollection) : HTTP/2 Specification Section 8.2: Server Push
Redirect(String)
Redirect(String, Boolean)
RedirectPermanent(String)
RedirectPermanent(String, Boolean)
RedirectToRoute(Object)
RedirectToRoute(RouteValueDictionary)
RedirectToRoute(String)
RedirectToRoute(String, Object)
RedirectToRoute(String, RouteValueDictionary)
RedirectToRoutePermanent(Object)
RedirectToRoutePermanent(RouteValueDictionary)
RedirectToRoutePermanent(String)
RedirectToRoutePermanent(String, Object)
RedirectToRoutePermanent(String, RouteValueDictionary)
RemoveOutputCacheItem(String)
RemoveOutputCacheItem(String, String)
SetCookie(HttpCookie)
ToString() : Object
TransmitFile(String)
TransmitFile(String, Int64, Int64)
Write(Char)
Write(Char[], Int32, Int32)
Write(Object) : Object
Write(String)
WriteFile(IntPtr, Int64, Int64)
WriteFile(String)
WriteFile(String, Boolean)
WriteFile(String, Int64, Int64)
WriteSubstitution(HttpResponseSubstitutionCallback)
Applies to
.NET Framework
4.8 4.7.2 4.7.1 4.7 4.6.2 4.6.1 4.6 4.5.2 4.5.1 4.5 4.0 3.5 3.0 2.0 1.1
©sideway
ID: 190500031 Last Updated: 5/31/2019 Revision: 0 Ref:
References
Active Server Pages, , http://msdn.microsoft.com/en-us/library/aa286483.aspx
ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929%28v=vs.90%29.aspx
ASP Best Practices, , http://technet.microsoft.com/en-us/library/cc939157.aspx
ASP Built-in Objects, , http://msdn.microsoft.com/en-us/library/ie/ms524716(v=vs.90).aspx
Response Object, , http://msdn.microsoft.com/en-us/library/ms525405(v=vs.90).aspx
Request Object, , http://msdn.microsoft.com/en-us/library/ms524948(v=vs.90).aspx
Server Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525541(v=vs.90).aspx
Application Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525360(v=vs.90).aspx
Session Object (IIS), , http://msdn.microsoft.com/en-us/library/ms524319(8v=vs.90).aspx
ASPError Object, , http://msdn.microsoft.com/en-us/library/ms524942(v=vs.90).aspx
ObjectContext Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525667(v=vs.90).aspx
Debugging Global.asa Files, , http://msdn.microsoft.com/en-us/library/aa291249(v=vs.71).aspx
How to: Debug Global.asa files, , http://msdn.microsoft.com/en-us/library/ms241868(v=vs.80).aspx
Calling COM Components from ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524620(v=VS.90).aspx
IIS ASP Scripting Reference, , http://msdn.microsoft.com/en-us/library/ms524664(v=vs.90).aspx
ASP Keywords, , http://msdn.microsoft.com/en-us/library/ms524672(v=vs.90).aspx
Creating Simple ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524741(v=vs.90).aspx
Including Files in ASP Applications, , http://msdn.microsoft.com/en-us/library/ms524876(v=vs.90).aspx
ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929(v=vs.90).aspx
FileSystemObject Object, , http://msdn.microsoft.com/en-us/library/z9ty6h50(v=vs.84).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms675944(v=vs.85).aspx, , ADO Object Model
ADO Fundamentals, , http://msdn.microsoft.com/en-us/library/windows/desktop/ms680928(v=vs.85).aspx