HttpResponseBase Methods
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | AddCacheDependency(array<CacheDependency^>^) | Adds an associates cache dependencies with the response that enable the response to be invalidated if it is cached and if the specified dependencies change. |
![]() | AddCacheItemDependencies(ArrayList^) | Makes the validity of a cached response dependent on the specified items in the cache. |
![]() | AddCacheItemDependencies(array<String^>^) | Makes the validity of a cached item dependent on the specified items in the cache. |
![]() | AddCacheItemDependency(String^) | Makes the validity of a cached response dependent on the specified item in the cache. |
![]() | AddFileDependencies(ArrayList^) | Adds file names to the collection of file names on which the current response is dependent. |
![]() | AddFileDependencies(array<String^>^) | Adds an array of file names to the collection of file names on which the current response is dependent. |
![]() | AddFileDependency(String^) | Adds a single file name to the collection of file names on which the current response is dependent. |
![]() | AddHeader(String^, String^) | Adds an HTTP header to the current response. This method is provided for compatibility with earlier versions of ASP. |
![]() | AddOnSendingHeaders(Action<HttpContextBase^>^) | [Supported in the .NET Framework 4.5.2 and later versions] Registers a callback that the ASP.NET runtime will invoke immediately before response headers are sent for this request. |
![]() | AppendCookie(HttpCookie^) | Adds an HTTP cookie to the HTTP response cookie collection. |
![]() | AppendHeader(String^, String^) | Adds an HTTP header to the current response. |
![]() | AppendToLog(String^) | Adds custom log information to the Internet Information Services (IIS) log file. |
![]() | ApplyAppPathModifier(String^) | Adds a session ID to the virtual path if the session is using Cookieless session state, and returns the combined path. |
![]() | BeginFlush(AsyncCallback^, Object^) | |
![]() | BinaryWrite(array<Byte>^) | Writes a string of binary characters to the HTTP output stream. |
![]() | Clear() | Clears all headers and content output from the current response. |
![]() | ClearContent() | Clears all content from the current response. |
![]() | ClearHeaders() | Clears all headers from the current response. |
![]() | Close() | Closes the socket connection to a client. |
![]() | DisableKernelCache() | Disables kernel caching for the current response. |
![]() | DisableUserCache() | Disables IIS user-mode caching for this response. |
![]() | End() | Sends all currently buffered output to the client, stops execution of the requested process, and raises the EndRequest event. |
![]() | EndFlush(IAsyncResult^) | Completes an asynchronous flush operation. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | Flush() | Sends all currently buffered output to the client. |
![]() | FlushAsync() | Asynchronously sends all currently buffered output to the client. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | Pics(String^) | Appends an HTTP PICS-Label header to the current response. |
![]() | PushPromise(String^) | This API is to support applications sending push promises to HTTP 2.0 clients. You can find more details regarding to Http2 server push at HTTP/2 Specification Section 8.2: Server Push. |
![]() | PushPromise(String^, String^, NameValueCollection^) | This API is to support applications sending push promises to HTTP 2.0 clients. You can find more details regarding to Http2 server push at HTTP/2 Specification Section 8.2: Server Push. |
![]() | Redirect(String^) | Redirects a request to the specified URL. |
![]() | Redirect(String^, Boolean) | Redirects a request to the specified URL and specifies whether execution of the current process should terminate. |
![]() | RedirectPermanent(String^) | Performs a permanent redirect from the requested URL to the specified URL. |
![]() | RedirectPermanent(String^, Boolean) | Performs a permanent redirect from the requested URL to the specified URL, and provides the option to complete the response. |
![]() | RedirectToRoute(Object^) | Redirects the request to a new URL by using route parameter values. |
![]() | RedirectToRoute(RouteValueDictionary^) | Redirects the request to a new URL by using route parameter values. |
![]() | RedirectToRoute(String^) | Redirects the request to a new URL by using a route name. |
![]() | RedirectToRoute(String^, Object^) | Redirects the request to a new URL by using route parameter values and a route name. |
![]() | RedirectToRoute(String^, RouteValueDictionary^) | Redirects the request to a new URL by using route parameter values and a route name. |
![]() | RedirectToRoutePermanent(Object^) | Performs a permanent redirection from the requested URL to a new URL by using route parameter values. |
![]() | RedirectToRoutePermanent(RouteValueDictionary^) | Performs a permanent redirection from the requested URL to a new URL by using route parameter values. |
![]() | RedirectToRoutePermanent(String^) | Performs a permanent redirection from the requested URL to a new URL by using a route name. |
![]() | RedirectToRoutePermanent(String^, Object^) | Performs a permanent redirection from the requested URL to a new URL by using the route parameter values and the name of the route that correspond to the new URL. |
![]() | RedirectToRoutePermanent(String^, RouteValueDictionary^) | Performs a permanent redirection from the requested URL to a new URL by using route parameter values and a route name. |
![]() | RemoveOutputCacheItem(String^) | Removes from the cache all cached items that are associated with the specified path. |
![]() | RemoveOutputCacheItem(String^, String^) | Uses the specified output-cache provider to remove all output-cache artifacts that are associated with the specified path. |
![]() | SetCookie(HttpCookie^) | Updates an existing cookie in the cookie collection. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | TransmitFile(String^) | Writes the specified file to the HTTP response output stream, without buffering it in memory. |
![]() | TransmitFile(String^, Int64, Int64) | Writes the specified part of a file to the HTTP response output stream, without buffering it in memory. |
![]() | Write(Char) | Writes a character to an HTTP response output stream. |
![]() | Write(array<Char>^, Int32, Int32) | Writes the specified array of characters to the HTTP response output stream. |
![]() | Write(Object^) | Writes the specified object to the HTTP response stream. |
![]() | Write(String^) | Writes the specified string to the HTTP response output stream. |
![]() | WriteFile(IntPtr, Int64, Int64) | Writes the specified file to the HTTP response output stream. |
![]() | WriteFile(String^) | Writes the contents of the specified file to the HTTP response output stream as a file block. |
![]() | WriteFile(String^, Boolean) | Writes the contents of the specified file to the HTTP response output stream and specifies whether the content is written as a memory block. |
![]() | WriteFile(String^, Int64, Int64) | Writes the specified file to the HTTP response output stream. |
![]() | WriteSubstitution(HttpResponseSubstitutionCallback^) | Inserts substitution blocks into the response, which enables dynamic generation of regions for cached output responses. |

