This documentation is archived and is not being maintained.
HttpResponse Members
.NET Framework 1.1
Public Properties
Buffer | Gets or sets a value indicating whether to buffer output and send it after the entire response is finished processing. |
BufferOutput | Gets or sets a value indicating whether to buffer output and send it after the entire page is finished processing. |
Cache | Gets the caching policy (expiration time, privacy, vary clauses) of a Web page. |
CacheControl | Sets the Cache-Control HTTP header to Public or Private. |
Charset | Gets or sets the HTTP character set of the output stream. |
ContentEncoding | Gets or sets the HTTP character set of the output stream. |
ContentType | Gets or sets the HTTP MIME type of the output stream. |
Cookies | Gets the response cookie collection. |
Expires | Gets or sets the number of minutes before a page cached on a browser expires. If the user returns to the same page before it expires, the cached version is displayed. Expires is provided for compatiblility with previous versions of ASP. |
ExpiresAbsolute | Gets or sets the absolute date and time at which to remove cached information from the cache.
ExpiresAbsolute is provided for compatibility with previous versions of ASP. |
Filter | Gets or sets a wrapping filter object used to modify the HTTP entity body before transmission. |
IsClientConnected | Gets a value indicating whether the client is still connected to the server. |
Output | Enables output of text to the outgoing HTTP response stream. |
OutputStream | Enables binary output to the outgoing HTTP content body. |
RedirectLocation | Gets or sets the value of the Http Location header. |
Status | Sets the Status line that is returned to the client. |
StatusCode | Gets or sets the HTTP status code of the output returned to the client. |
StatusDescription | Gets or sets the HTTP status string of the output returned to the client. |
SuppressContent | Gets or sets a value indicating whether to send HTTP content to the client. |
Public Methods
AddCacheItemDependencies | Makes the validity of a cached item dependent on other items in the cache. |
AddCacheItemDependency | Makes the validity of a cached item dependent on another item in the cache. |
AddFileDependencies | Adds a group of file names to the collection of file names on which the current response is dependent. |
AddFileDependency | Adds a single file name to the collection of file names on which the current response is dependent. |
AddHeader | Adds an HTTP header to the output stream.
AddHeader is provided for compatibility with previous versions of ASP. |
AppendHeader | Adds an HTTP header to the output stream. |
AppendToLog | Adds custom log information to the IIS log file. |
ApplyAppPathModifier | Adds a session ID to the virtual path if the session is using cookieless session state and returns the combined path. If cookieless session state is not used, ApplyAppPathModifier returns the original virtual path. |
BinaryWrite | Writes a string of binary characters to the HTTP output stream. |
Clear | Clears all content output from the buffer stream. |
ClearContent | Clears all content output from the buffer stream. |
ClearHeaders | Clears all headers from the buffer stream. |
Close | Closes the socket connection to a client. |
End | Sends all currently buffered output to the client, stops execution of the page, and raises the Application_EndRequest event. |
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
Flush | Sends all currently buffered output to the client. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
Pics | Appends a PICS-Label HTTP header to the output stream. |
Redirect | Overloaded. Redirects a client to a new URL. |
![]() RemoveOutputCacheItem | Static method removes from the cache all cached items associated with the specified path. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Write | Overloaded. Writes information to an HTTP output content stream. |
WriteFile | Overloaded. Writes the specified file directly to an HTTP content output stream. |
Protected Methods
Finalize (inherited from Object) | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
Show:



