Export (0) Print
Expand All

HttpResponse Properties

The HttpResponse type exposes the following members.

  NameDescription
Public property Buffer Gets or sets a value indicating whether to buffer output and send it after the complete response is finished processing.
Public property BufferOutput Gets or sets a value indicating whether to buffer output and send it after the complete page is finished processing.
Public property Cache Gets the caching policy (such as expiration time, privacy settings, and vary clauses) of a Web page.
Public property CacheControl Gets or sets the Cache-Control HTTP header that matches one of the HttpCacheability enumeration values.
Public property Charset Gets or sets the HTTP character set of the output stream.
Public property ContentEncoding Gets or sets the HTTP character set of the output stream.
Public property ContentType Gets or sets the HTTP MIME type of the output stream.
Public property Cookies Gets the response cookie collection.
Public property 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.
Public property 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.
Public property Filter Gets or sets a wrapping filter object that is used to modify the HTTP entity body before transmission.
Public property HeaderEncoding Gets or sets an Encoding object that represents the encoding for the current header output stream.
Public property Headers Gets the collection of response headers.
Public property IsClientConnected Gets a value indicating whether the client is still connected to the server.
Public property IsRequestBeingRedirected Gets a Boolean value indicating whether the client is being transferred to a new location.
Public property Output Enables output of text to the outgoing HTTP response stream.
Public property OutputStream Enables binary output to the outgoing HTTP content body.
Public property RedirectLocation Gets or sets the value of the Http Location header.
Public property Status Sets the Status line that is returned to the client.
Public property StatusCode Gets or sets the HTTP status code of the output returned to the client.
Public property StatusDescription Gets or sets the HTTP status string of the output returned to the client.
Public property SubStatusCode Gets or sets a value qualifying the status code of the response.
Public property SuppressContent Gets or sets a value indicating whether to send HTTP content to the client.
Public property TrySkipIisCustomErrors Gets or sets a value that specifies whether IIS 7.0 custom errors are disabled.
Top

Community Additions

ADD
Show:
© 2014 Microsoft