This documentation is archived and is not being maintained.
HttpResponseBase Methods
Visual Studio 2008
The HttpResponseBase 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. |
|
AddCacheItemDependencies | Overloaded. When overridden in a derived class, makes the validity of a cached response dependent on other items in the cache. |
|
AddCacheItemDependency | When overridden in a derived class, makes the validity of a cached response dependent on the specified item in the cache. |
|
AddFileDependencies | Overloaded. When overridden in a derived class, makes the validity of a cached response dependent on a specified file or files. |
|
AddFileDependency | When overridden in a derived class, adds a single file name to the collection of file names on which the current response is dependent. |
|
AddHeader | When overridden in a derived class, adds an HTTP header to the current response. This method is provided for compatibility with earlier versions of ASP. |
|
AppendCookie | When overridden in a derived class, adds an HTTP cookie to the HTTP response cookie collection. |
|
AppendHeader | When overridden in a derived class, adds an HTTP header to the current response. |
|
AppendToLog | When overridden in a derived class, adds custom log information to the Internet Information Services (IIS) log file. |
|
ApplyAppPathModifier | When overridden in a derived class, adds a session ID to the virtual path if the session is using Cookieless session state, and returns the combined path. |
|
BinaryWrite | When overridden in a derived class, writes a string of binary characters to the HTTP output stream. |
|
Clear | When overridden in a derived class, clears all headers and content output from the current response. |
|
ClearContent | When overridden in a derived class, clears all content from the current response. |
|
ClearHeaders | When overridden in a derived class, clears all headers from the current response. |
|
Close | When overridden in a derived class, closes the socket connection to a client. |
|
DisableKernelCache | When overridden in a derived class, disables kernel caching for the current response. |
|
End | When overridden in a derived class, sends all currently buffered output to the client, stops execution of the requested process, and raises the EndRequest event. |
|
Equals | 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 | When overridden in a derived class, sends all currently buffered output to the client. |
|
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 | When overridden in a derived class, appends an HTTP PICS-Label header to the current response. |
|
Redirect | Overloaded. When overridden in a derived class, redirects a request to a different URL. |
|
RemoveOutputCacheItem | When overridden in a derived class, removes from the cache all cached items that are associated with the specified path. |
|
SetCookie | When overridden in a derived class, updates an existing cookie in the cookie collection. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TransmitFile | Overloaded. When overridden in a derived class, writes the specified file to the HTTP response output stream, without buffering it in memory. |
|
Write | Overloaded. When overridden in a derived class, writes information to the HTTP response output stream. |
|
WriteFile | Overloaded. When overridden in a derived class, writes the specified file to the HTTP response output stream. |
|
WriteSubstitution | When overridden in a derived class, inserts substitution blocks into the response, which enables dynamic generation of regions for cached output responses. |
Show: