Export (0) Print
Expand All

HttpResponseBase Methods

The HttpResponseBase type exposes the following members.

  Name Description
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(ArrayList) When overridden in a derived class, makes the validity of a cached response dependent on the specified items in the cache.
Public method AddCacheItemDependencies(String[]) When overridden in a derived class, makes the validity of a cached item dependent on the specified 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(ArrayList) When overridden in a derived class, adds file names to the collection of file names on which the current response is dependent.
Public method AddFileDependencies(String[]) When overridden in a derived class, adds an array of file names to the collection of file names on which the current response is dependent.
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 BeginFlush When implemented in a derived class, sends the currently buffered response to the client.
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 DisableUserCache When implemented in a derived class, disables IIS user-mode caching for this 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 EndFlush When implemented in a derived class, completes an asynchronous flush operation.
Public method Equals(Object) 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 the default hash function. (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(String) When overridden in a derived class, redirects a request to the specified URL.
Public method Redirect(String, Boolean) When overridden in a derived class, redirects a request to the specified URL and specifies whether execution of the current process should terminate.
Public method RedirectPermanent(String) When overridden in a derived class, performs a permanent redirect from the requested URL to the specified URL.
Public method RedirectPermanent(String, Boolean) When overridden in a derived class, performs a permanent redirect from the requested URL to the specified URL, and provides the option to complete the response.
Public method RedirectToRoute(Object) When overridden in a derived class, redirects the request to a new URL by using route parameter values.
Public method RedirectToRoute(RouteValueDictionary) When overridden in a derived class, redirects the request to a new URL by using route parameter values.
Public method RedirectToRoute(String) When overridden in a derived class, redirects the request to a new URL by using a route name.
Public method RedirectToRoute(String, Object) When overridden in a derived class, redirects the request to a new URL by using route parameter values and a route name.
Public method RedirectToRoute(String, RouteValueDictionary) When overridden in a derived class, redirects the request to a new URL by using route parameter values and a route name.
Public method RedirectToRoutePermanent(Object) When overridden in a derived class, performs a permanent redirection from the requested URL to a new URL by using route parameter values.
Public method RedirectToRoutePermanent(RouteValueDictionary) When overridden in a derived class, performs a permanent redirection from the requested URL to a new URL by using route parameter values.
Public method RedirectToRoutePermanent(String) When overridden in a derived class, performs a permanent redirection from the requested URL to a new URL by using a route name.
Public method RedirectToRoutePermanent(String, Object) When overridden in a derived class, performs a permanent redirection from the requested URL to a new URL by using the route parameter values and the name of the route that correspond to the new URL.
Public method RedirectToRoutePermanent(String, RouteValueDictionary) When overridden in a derived class, performs a permanent redirection from the requested URL to a new URL by using route parameter values and a route name.
Public method RemoveOutputCacheItem(String) When overridden in a derived class, removes from the cache all cached items that are associated with the specified path.
Public method RemoveOutputCacheItem(String, String) When overridden in a derived class, uses the specified output-cache provider to remove all output-cache artifacts 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(String) When overridden in a derived class, writes the specified file to the HTTP response output stream, without buffering it in memory.
Public method TransmitFile(String, Int64, Int64) When overridden in a derived class, writes the specified part of a file to the HTTP response output stream, without buffering it in memory.
Public method Write(Char) When overridden in a derived class, writes a character to an HTTP response output stream.
Public method Write(Object) When overridden in a derived class, writes the specified object to the HTTP response stream.
Public method Write(String) When overridden in a derived class, writes the specified string to the HTTP response output stream.
Public method Write(Char[], Int32, Int32) When overridden in a derived class, writes the specified array of characters to the HTTP response output stream.
Public method WriteFile(String) When overridden in a derived class, writes the contents of the specified file to the HTTP response output stream as a file block.
Public method WriteFile(String, Boolean) When overridden in a derived class, writes the contents of the specified file to the HTTP response output stream and specifies whether the content is written as a memory block.
Public method WriteFile(IntPtr, Int64, Int64) When overridden in a derived class, writes the specified file to the HTTP response output stream.
Public method WriteFile(String, Int64, Int64) 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
Show:
© 2014 Microsoft