This documentation is archived and is not being maintained.

HttpResponse Properties

The properties of the HttpResponse class are listed here. For a complete list of HttpResponse class members, see the HttpResponse Members topic.

Public Properties

public propertyBuffer Gets or sets a value indicating whether to buffer output and send it after the entire response is finished processing.
public propertyBufferOutput Gets or sets a value indicating whether to buffer output and send it after the entire page is finished processing.
public propertyCache Gets the caching policy (expiration time, privacy, vary clauses) of a Web page.
public propertyCacheControl Sets the Cache-Control HTTP header to Public or Private.
public propertyCharset Gets or sets the HTTP character set of the output stream.
public propertyContentEncoding Gets or sets the HTTP character set of the output stream.
public propertyContentType Gets or sets the HTTP MIME type of the output stream.
public propertyCookies Gets the response cookie collection.
public propertyExpires 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.
public propertyExpiresAbsolute 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.

public propertyFilter Gets or sets a wrapping filter object used to modify the HTTP entity body before transmission.
public propertyIsClientConnected Gets a value indicating whether the client is still connected to the server.
public propertyOutput Enables output of text to the outgoing HTTP response stream.
public propertyOutputStream Enables binary output to the outgoing HTTP content body.
public propertyRedirectLocation Gets or sets the value of the Http Location header.
public propertyStatus Sets the Status line that is returned to the client.
public propertyStatusCode Gets or sets the HTTP status code of the output returned to the client.
public propertyStatusDescription Gets or sets the HTTP status string of the output returned to the client.
public propertySuppressContent Gets or sets a value indicating whether to send HTTP content to the client.

See Also

HttpResponse Class | System.Web Namespace

Show: