This documentation is archived and is not being maintained.
HttpResponse Properties
Visual Studio 2008
The HttpResponse type exposes the following members.
| Name | Description | |
|---|---|---|
|
Buffer | Gets or sets a value indicating whether to buffer output and send it after the complete response is finished processing. |
|
BufferOutput | Gets or sets a value indicating whether to buffer output and send it after the complete page is finished processing. |
|
Cache | Gets the caching policy (such as expiration time, privacy settings, and vary clauses) of a Web page. |
|
CacheControl | Gets or sets the Cache-Control HTTP header that matches one of the HttpCacheability enumeration values. |
|
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 compatibility with earlier 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 earlier versions of ASP. |
|
Filter | Gets or sets a wrapping filter object that is used to modify the HTTP entity body before transmission. |
|
HeaderEncoding | Gets or sets an Encoding object that represents the encoding for the current header output stream. |
|
Headers | Gets the collection of response headers. |
|
IsClientConnected | Gets a value indicating whether the client is still connected to the server. |
|
IsRequestBeingRedirected | Gets a Boolean value indicating whether the client is being transferred to a new location. |
|
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. |
|
SubStatusCode | Gets or sets a value qualifying the status code of the response. |
|
SuppressContent | Gets or sets a value indicating whether to send HTTP content to the client. |
|
TrySkipIisCustomErrors | Gets or sets a value that specifies whether IIS 7.0 custom errors are disabled. |
Show: