This documentation is archived and is not being maintained.
HttpResponseWrapper Methods
Visual Studio 2010
The HttpResponseWrapper type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddCacheDependency | When overridden in a derived class, associates cache dependencies with the response that enable the response to be invalidated if it is cached and if the specified dependencies change. (Overrides HttpResponseBase::AddCacheDependency(array<CacheDependency>).) |
|
AddCacheItemDependencies(ArrayList) | Makes the validity of a cached response dependent on the specified items in the cache. (Overrides HttpResponseBase::AddCacheItemDependencies(ArrayList).) |
|
AddCacheItemDependencies(array<String>) | Makes the validity of a cached item dependent on the specified items in the cache. (Overrides HttpResponseBase::AddCacheItemDependencies(array<String>).) |
|
AddCacheItemDependency | Makes the validity of a cached response dependent on the specified item in the cache. (Overrides HttpResponseBase::AddCacheItemDependency(String).) |
|
AddFileDependencies(ArrayList) | Adds file names to the collection of file names on which the current response is dependent. (Overrides HttpResponseBase::AddFileDependencies(ArrayList).) |
|
AddFileDependencies(array<String>) | Adds an array of file names to the collection of file names on which the current response is dependent. (Overrides HttpResponseBase::AddFileDependencies(array<String>).) |
|
AddFileDependency | Adds a single file name to the collection of file names on which the current response is dependent. (Overrides HttpResponseBase::AddFileDependency(String).) |
|
AddHeader | Adds an HTTP header to the current response. This method is provided for compatibility with earlier versions of ASP. (Overrides HttpResponseBase::AddHeader(String, String).) |
|
AppendCookie | Adds an HTTP cookie to the HTTP response cookie collection. (Overrides HttpResponseBase::AppendCookie(HttpCookie).) |
|
AppendHeader | Adds an HTTP header to the current response. (Overrides HttpResponseBase::AppendHeader(String, String).) |
|
AppendToLog | Adds custom log information to the Internet Information Services (IIS) log file. (Overrides HttpResponseBase::AppendToLog(String).) |
|
ApplyAppPathModifier | Adds a session ID to the virtual path if the session is using Cookieless session state, and returns the combined path. (Overrides HttpResponseBase::ApplyAppPathModifier(String).) |
|
BinaryWrite | Writes a string of binary characters to the HTTP output stream. (Overrides HttpResponseBase::BinaryWrite(array<Byte>).) |
|
Clear | Clears all headers and content output from the current response. (Overrides HttpResponseBase::Clear().) |
|
ClearContent | Clears all content output from the current response. (Overrides HttpResponseBase::ClearContent().) |
|
ClearHeaders | Clears all headers from the current response. (Overrides HttpResponseBase::ClearHeaders().) |
|
Close | Closes the socket connection to a client. (Overrides HttpResponseBase::Close().) |
|
DisableKernelCache | Disables kernel caching for the current response. (Overrides HttpResponseBase::DisableKernelCache().) |
|
End | Sends all currently buffered output to the client, stops execution of the requested process, and raises the EndRequest event. (Overrides HttpResponseBase::End().) |
|
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. (Overrides HttpResponseBase::Flush().) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Pics | Appends an HTTP PICS-Label header to the current response. (Overrides HttpResponseBase::Pics(String).) |
|
Redirect(String) | Redirects a request to the specified URL. (Overrides HttpResponseBase::Redirect(String).) |
|
Redirect(String, Boolean) | Redirects a request to the specified URL and specifies whether execution of the current process should terminate. (Overrides HttpResponseBase::Redirect(String, Boolean).) |
|
RedirectPermanent(String) | Performs a permanent redirect from the requested URL to the specified URL. (Overrides HttpResponseBase::RedirectPermanent(String).) |
|
RedirectPermanent(String, Boolean) | Performs a permanent redirect from the requested URL to the specified URL, and provides the option to complete the response. (Overrides HttpResponseBase::RedirectPermanent(String, Boolean).) |
|
RedirectToRoute(Object) | When overridden in a derived class, redirects the request to a new URL by using route parameter values. (Inherited from HttpResponseBase.) |
|
RedirectToRoute(RouteValueDictionary) | When overridden in a derived class, redirects the request to a new URL by using route parameter values. (Inherited from HttpResponseBase.) |
|
RedirectToRoute(String) | When overridden in a derived class, redirects the request to a new URL by using a route name. (Inherited from HttpResponseBase.) |
|
RedirectToRoute(String, Object) | When overridden in a derived class, redirects the request to a new URL by using route parameter values and a route name. (Inherited from HttpResponseBase.) |
|
RedirectToRoute(String, RouteValueDictionary) | When overridden in a derived class, redirects the request to a new URL by using route parameter values and a route name. (Inherited from HttpResponseBase.) |
|
RedirectToRoutePermanent(Object) | When overridden in a derived class, performs a permanent redirection from the requested URL to a new URL by using route parameter values. (Inherited from HttpResponseBase.) |
|
RedirectToRoutePermanent(RouteValueDictionary) | When overridden in a derived class, performs a permanent redirection from the requested URL to a new URL by using route parameter values. (Inherited from HttpResponseBase.) |
|
RedirectToRoutePermanent(String) | When overridden in a derived class, performs a permanent redirection from the requested URL to a new URL by using a route name. (Inherited from HttpResponseBase.) |
|
RedirectToRoutePermanent(String, Object) | When overridden in a derived class, 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. (Inherited from HttpResponseBase.) |
|
RedirectToRoutePermanent(String, RouteValueDictionary) | When overridden in a derived class, performs a permanent redirection from the requested URL to a new URL by using route parameter values and a route name. (Inherited from HttpResponseBase.) |
|
RemoveOutputCacheItem(String) | Removes from the cache all cached items that are associated with the specified path. (Overrides HttpResponseBase::RemoveOutputCacheItem(String).) |
|
RemoveOutputCacheItem(String, String) | Uses the specified output-cache provider to remove all output-cache artifacts that are associated with the specified path. (Overrides HttpResponseBase::RemoveOutputCacheItem(String, String).) |
|
SetCookie | Updates an existing cookie in the cookie collection. (Overrides HttpResponseBase::SetCookie(HttpCookie).) |
|
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. (Overrides HttpResponseBase::TransmitFile(String).) |
|
TransmitFile(String, Int64, Int64) | Writes the specified part of a file to the HTTP response output stream, without buffering it in memory. (Overrides HttpResponseBase::TransmitFile(String, Int64, Int64).) |
|
Write(Char) | Writes a character to an HTTP response output stream. (Overrides HttpResponseBase::Write(Char).) |
|
Write(Object) | Writes the specified object to the HTTP response stream. (Overrides HttpResponseBase::Write(Object).) |
|
Write(String) | Writes the specified string to the HTTP response output stream. (Overrides HttpResponseBase::Write(String).) |
|
Write(array<Char>, Int32, Int32) | Writes the specified array of characters to the HTTP response output stream. (Overrides HttpResponseBase::Write(array<Char>, Int32, Int32).) |
|
WriteFile(String) | Writes the contents of the specified file to the HTTP response output stream as a file block. (Overrides HttpResponseBase::WriteFile(String).) |
|
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. (Overrides HttpResponseBase::WriteFile(String, Boolean).) |
|
WriteFile(IntPtr, Int64, Int64) | Writes the specified file to the HTTP response output stream. (Overrides HttpResponseBase::WriteFile(IntPtr, Int64, Int64).) |
|
WriteFile(String, Int64, Int64) | Writes the specified file to the HTTP response output stream. (Overrides HttpResponseBase::WriteFile(String, Int64, Int64).) |
|
WriteSubstitution | Inserts substitution blocks into the response, which enables dynamic generation of regions for cached output responses. (Overrides HttpResponseBase::WriteSubstitution(HttpResponseSubstitutionCallback).) |
Show: