Export (0) Print
Expand All

HttpResponseWrapper Methods

The HttpResponseWrapper 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. (Overrides HttpResponseBase.AddCacheDependency(CacheDependency[]).)
Public method AddCacheItemDependencies(ArrayList) Makes the validity of a cached response dependent on the specified items in the cache. (Overrides HttpResponseBase.AddCacheItemDependencies(ArrayList).)
Public method AddCacheItemDependencies(String[]) Makes the validity of a cached item dependent on the specified items in the cache. (Overrides HttpResponseBase.AddCacheItemDependencies(String[]).)
Public method AddCacheItemDependency Makes the validity of a cached response dependent on the specified item in the cache. (Overrides HttpResponseBase.AddCacheItemDependency(String).)
Public method AddFileDependencies(ArrayList) Adds file names to the collection of file names on which the current response is dependent. (Overrides HttpResponseBase.AddFileDependencies(ArrayList).)
Public method AddFileDependencies(String[]) Adds an array of file names to the collection of file names on which the current response is dependent. (Overrides HttpResponseBase.AddFileDependencies(String[]).)
Public method AddFileDependency Adds a single file name to the collection of file names on which the current response is dependent. (Overrides HttpResponseBase.AddFileDependency(String).)
Public method AddHeader Adds an HTTP header to the current response. This method is provided for compatibility with earlier versions of ASP. (Overrides HttpResponseBase.AddHeader(String, String).)
Public method AddOnSendingHeaders (Overrides HttpResponseBase.AddOnSendingHeaders(Action<HttpContextBase>).)
Public method AppendCookie Adds an HTTP cookie to the HTTP response cookie collection. (Overrides HttpResponseBase.AppendCookie(HttpCookie).)
Public method AppendHeader Adds an HTTP header to the current response. (Overrides HttpResponseBase.AppendHeader(String, String).)
Public method AppendToLog Adds custom log information to the Internet Information Services (IIS) log file. (Overrides HttpResponseBase.AppendToLog(String).)
Public method ApplyAppPathModifier Adds a session ID to the virtual path if the session is using Cookieless session state, and returns the combined path. (Overrides HttpResponseBase.ApplyAppPathModifier(String).)
Public method BeginFlush Sends the currently buffered response to the client. (Overrides HttpResponseBase.BeginFlush(AsyncCallback, Object).)
Public method BinaryWrite Writes a string of binary characters to the HTTP output stream. (Overrides HttpResponseBase.BinaryWrite(Byte[]).)
Public method Clear Clears all headers and content output from the current response. (Overrides HttpResponseBase.Clear().)
Public method ClearContent Clears all content output from the current response. (Overrides HttpResponseBase.ClearContent().)
Public method ClearHeaders Clears all headers from the current response. (Overrides HttpResponseBase.ClearHeaders().)
Public method Close Closes the socket connection to a client. (Overrides HttpResponseBase.Close().)
Public method DisableKernelCache Disables kernel caching for the current response. (Overrides HttpResponseBase.DisableKernelCache().)
Public method DisableUserCache Disables IIS user-mode caching for this response. (Overrides HttpResponseBase.DisableUserCache().)
Public method End Sends all currently buffered output to the client, stops execution of the requested process, and raises the EndRequest event. (Overrides HttpResponseBase.End().)
Public method EndFlush Completes an asynchronous flush operation. (Overrides HttpResponseBase.EndFlush(IAsyncResult).)
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 Sends all currently buffered output to the client. (Overrides HttpResponseBase.Flush().)
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 Appends an HTTP PICS-Label header to the current response. (Overrides HttpResponseBase.Pics(String).)
Public method Redirect(String) Redirects a request to the specified URL. (Overrides HttpResponseBase.Redirect(String).)
Public method Redirect(String, Boolean) Redirects a request to the specified URL and specifies whether execution of the current process should terminate. (Overrides HttpResponseBase.Redirect(String, Boolean).)
Public method RedirectPermanent(String) Performs a permanent redirect from the requested URL to the specified URL. (Overrides HttpResponseBase.RedirectPermanent(String).)
Public method RedirectPermanent(String, Boolean) Performs a permanent redirect from the requested URL to the specified URL, and provides the option to complete the response. (Overrides HttpResponseBase.RedirectPermanent(String, Boolean).)
Public method RedirectToRoute(Object) Redirects a request to a new URL by using the specified route parameter values. (Overrides HttpResponseBase.RedirectToRoute(Object).)
Public method RedirectToRoute(RouteValueDictionary) Redirects a request to a new URL by using the specified route parameter values. (Overrides HttpResponseBase.RedirectToRoute(RouteValueDictionary).)
Public method RedirectToRoute(String) Redirects a request to a new URL by using the specified route name. (Overrides HttpResponseBase.RedirectToRoute(String).)
Public method RedirectToRoute(String, Object) Redirects a request to a new URL by using the specified route name and route parameter values. (Overrides HttpResponseBase.RedirectToRoute(String, Object).)
Public method RedirectToRoute(String, RouteValueDictionary) Redirects a request to a new URL by using the specified route name and route parameter values. (Overrides HttpResponseBase.RedirectToRoute(String, RouteValueDictionary).)
Public method RedirectToRoutePermanent(Object) Performs a permanent redirection from a requested URL to a new URL by using the specified route parameter values. (Overrides HttpResponseBase.RedirectToRoutePermanent(Object).)
Public method RedirectToRoutePermanent(RouteValueDictionary) Performs a permanent redirection from a requested URL to a new URL by using the specified route parameter values. (Overrides HttpResponseBase.RedirectToRoutePermanent(RouteValueDictionary).)
Public method RedirectToRoutePermanent(String) Performs a permanent redirection from a requested URL to a new URL by using the specified route name. (Overrides HttpResponseBase.RedirectToRoutePermanent(String).)
Public method RedirectToRoutePermanent(String, Object) Performs a permanent redirection from a requested URL to a new URL by using a route name and route parameter values that correspond to the new URL. (Overrides HttpResponseBase.RedirectToRoutePermanent(String, Object).)
Public method RedirectToRoutePermanent(String, RouteValueDictionary) Performs a permanent redirection from a requested URL to a new URL by using the specified route name and route parameter values. (Overrides HttpResponseBase.RedirectToRoutePermanent(String, RouteValueDictionary).)
Public method RemoveOutputCacheItem(String) Removes from the cache all cached items that are associated with the specified path. (Overrides HttpResponseBase.RemoveOutputCacheItem(String).)
Public method RemoveOutputCacheItem(String, String) Uses the specified output-cache provider to remove all output-cache artifacts that are associated with the specified path. (Overrides HttpResponseBase.RemoveOutputCacheItem(String, String).)
Public method SetCookie Updates an existing cookie in the cookie collection. (Overrides HttpResponseBase.SetCookie(HttpCookie).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TransmitFile(String) Writes the specified file to the HTTP response output stream, without buffering it in memory. (Overrides HttpResponseBase.TransmitFile(String).)
Public method TransmitFile(String, Int64, Int64) Writes the specified part of a file to the HTTP response output stream, without buffering it in memory. (Overrides HttpResponseBase.TransmitFile(String, Int64, Int64).)
Public method Write(Char) Writes a character to an HTTP response output stream. (Overrides HttpResponseBase.Write(Char).)
Public method Write(Object) Writes the specified object to the HTTP response stream. (Overrides HttpResponseBase.Write(Object).)
Public method Write(String) Writes the specified string to the HTTP response output stream. (Overrides HttpResponseBase.Write(String).)
Public method Write(Char[], Int32, Int32) Writes the specified array of characters to the HTTP response output stream. (Overrides HttpResponseBase.Write(Char[], Int32, Int32).)
Public method WriteFile(String) Writes the contents of the specified file to the HTTP response output stream as a file block. (Overrides HttpResponseBase.WriteFile(String).)
Public method WriteFile(String, Boolean) Writes the contents of the specified file to the HTTP response output stream and specifies whether the content is written as a memory block. (Overrides HttpResponseBase.WriteFile(String, Boolean).)
Public method WriteFile(IntPtr, Int64, Int64) Writes the specified file to the HTTP response output stream. (Overrides HttpResponseBase.WriteFile(IntPtr, Int64, Int64).)
Public method WriteFile(String, Int64, Int64) Writes the specified file to the HTTP response output stream. (Overrides HttpResponseBase.WriteFile(String, Int64, Int64).)
Public method WriteSubstitution Inserts substitution blocks into the response, which enables dynamic generation of regions for cached output responses. (Overrides HttpResponseBase.WriteSubstitution(HttpResponseSubstitutionCallback).)
Top
Show:
© 2014 Microsoft