Export (0) Print
Expand All

HttpResponseBase Members

.NET Framework 3.5

Serves as the base class for classes that provides HTTP-response information from an ASP.NET operation.

The HttpResponseBase type exposes the following members.

  NameDescription
Protected method HttpResponseBase Initializes the class for use by an inherited class instance. This constructor can only be called by an inherited class.
Top

  NameDescription
Public method AddCacheDependency When overridden in a derived class, associates cache dependencies with the response that enable the response to be invalidated if it is cached and if the specified dependencies change.
Public method AddCacheItemDependencies Overloaded. When overridden in a derived class, makes the validity of a cached response dependent on other items in the cache.
Public method AddCacheItemDependency When overridden in a derived class, makes the validity of a cached response dependent on the specified item in the cache.
Public method AddFileDependencies Overloaded. When overridden in a derived class, makes the validity of a cached response dependent on a specified file or files.
Public method AddFileDependency When overridden in a derived class, adds a single file name to the collection of file names on which the current response is dependent.
Public method AddHeader When overridden in a derived class, adds an HTTP header to the current response. This method is provided for compatibility with earlier versions of ASP.
Public method AppendCookie When overridden in a derived class, adds an HTTP cookie to the HTTP response cookie collection.
Public method AppendHeader When overridden in a derived class, adds an HTTP header to the current response.
Public method AppendToLog When overridden in a derived class, adds custom log information to the Internet Information Services (IIS) log file.
Public method ApplyAppPathModifier When overridden in a derived class, adds a session ID to the virtual path if the session is using Cookieless session state, and returns the combined path.
Public method BinaryWrite When overridden in a derived class, writes a string of binary characters to the HTTP output stream.
Public method Clear When overridden in a derived class, clears all headers and content output from the current response.
Public method ClearContent When overridden in a derived class, clears all content from the current response.
Public method ClearHeaders When overridden in a derived class, clears all headers from the current response.
Public method Close When overridden in a derived class, closes the socket connection to a client.
Public method DisableKernelCache When overridden in a derived class, disables kernel caching for the current response.
Public method End When overridden in a derived class, sends all currently buffered output to the client, stops execution of the requested process, and raises the EndRequest event.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Flush When overridden in a derived class, sends all currently buffered output to the client.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Pics When overridden in a derived class, appends an HTTP PICS-Label header to the current response.
Public method Redirect Overloaded. When overridden in a derived class, redirects a request to a different URL.
Public method RemoveOutputCacheItem When overridden in a derived class, removes from the cache all cached items that are associated with the specified path.
Public method SetCookie When overridden in a derived class, updates an existing cookie in the cookie collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TransmitFile Overloaded. When overridden in a derived class, writes the specified file to the HTTP response output stream, without buffering it in memory.
Public method Write Overloaded. When overridden in a derived class, writes information to the HTTP response output stream.
Public method WriteFile Overloaded. When overridden in a derived class, writes the specified file to the HTTP response output stream.
Public method WriteSubstitution When overridden in a derived class, inserts substitution blocks into the response, which enables dynamic generation of regions for cached output responses.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft