Export (0) Print
Expand All

HttpResponseBase Properties

The HttpResponseBase type exposes the following members.

  Name Description
Public property Buffer Gets or sets a value that indicates whether to buffer output and send it after the complete response has finished processing.
Public property BufferOutput Gets or sets a value that indicates whether to buffer output and send it after the complete page has finished processing.
Public property Cache Gets the caching policy (such as expiration time, privacy settings, and vary clauses) of the current 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 current response.
Public property ClientDisconnectedToken Gets a CancellationToken object that is tripped when the client disconnects.
Public property ContentEncoding Gets or sets the content encoding of the current response.
Public property ContentType Gets or sets the HTTP MIME type of the current response.
Public property Cookies Gets the response cookie collection.
Public property Expires Gets or sets the number of minutes before a page that is cached on the client or proxy 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 Active Server Pages (ASP).
Public property ExpiresAbsolute Gets or sets the absolute date and time at which cached information expires in the cache. ExpiresAbsolute is provided for compatibility with earlier versions of Active Server Pages (ASP).
Public property Filter Gets or sets a filter object that is used to modify the HTTP entity body before transmission.
Public property HeaderEncoding Gets or sets the encoding for the header of the current response.
Public property Headers Gets the collection of response headers.
Public property HeadersWritten [Supported in the .NET Framework 4.5.2 and later versions]Gets a value indicating whether the response headers have been written.
Public property IsClientConnected Gets a value that indicates whether the client is connected to the server.
Public property IsRequestBeingRedirected Gets a value that indicates whether the client is being redirected to a new location.
Public property Output Gets the object that enables text output to the HTTP response stream.
Public property OutputStream Gets the object that 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 Gets or sets the Status value that is returned to the client.
Public property StatusCode Gets or sets the HTTP status code of the output that is returned to the client.
Public property StatusDescription Gets or sets the HTTP status message of the output that is returned to the client.
Public property SubStatusCode Gets or sets a value that qualifies the status code of the response.
Public property SupportsAsyncFlush Gets a value that indicates whether the connection supports asynchronous flush operation.
Public property SuppressContent Gets or sets a value that indicates whether to send HTTP content to the client.
Public property SuppressDefaultCacheControlHeader [Supported in the .NET Framework 4.5.2 and later versions]Gets or sets a value indicating whether to suppress the default Cache Control: private header for the current HTTP response.
Public property SuppressFormsAuthenticationRedirect Gets or sets a value that specifies whether forms authentication redirection to the login page should be suppressed.
Public property TrySkipIisCustomErrors Gets or sets a value that specifies whether IIS 7.0 custom errors are disabled.
Top
Show:
© 2014 Microsoft