This documentation is archived and is not being maintained.

HttpContextWrapper Methods

The HttpContextWrapper type exposes the following members.

  NameDescription
Public method AddError Adds an exception to the exception collection for the current HTTP request. (Overrides HttpContextBase::AddError(Exception).)
Public method ClearError Clears all errors for the current HTTP request. (Overrides HttpContextBase::ClearError().)
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 GetGlobalResourceObject(String, String) Gets an application-level resource object based on the specified ClassKey and ResourceKey properties. (Overrides HttpContextBase::GetGlobalResourceObject(String, String).)
Public method GetGlobalResourceObject(String, String, CultureInfo) Gets an application-level resource object based on the specified ClassKey and ResourceKey properties, and on the CultureInfo object. (Overrides HttpContextBase::GetGlobalResourceObject(String, String, CultureInfo).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLocalResourceObject(String, String) Gets a page-level resource object based on the specified VirtualPath and ResourceKey properties. (Overrides HttpContextBase::GetLocalResourceObject(String, String).)
Public method GetLocalResourceObject(String, String, CultureInfo) Gets a page-level resource object based on the specified VirtualPath and ResourceKey properties, and on the CultureInfo object. (Overrides HttpContextBase::GetLocalResourceObject(String, String, CultureInfo).)
Public method GetSection Gets the specified configuration section of the current application's default configuration. (Overrides HttpContextBase::GetSection(String).)
Public method GetService Returns an object for the current service type. (Overrides HttpContextBase::GetService(Type).)
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 RemapHandler Enables you to specify a handler for the request. (Overrides HttpContextBase::RemapHandler(IHttpHandler).)
Public method RewritePath(String) Rewrites the URL by using the specified path. (Overrides HttpContextBase::RewritePath(String).)
Public method RewritePath(String, Boolean) Rewrites the URL by using the specified path and a value that specifies whether the virtual path for server resources is modified. (Overrides HttpContextBase::RewritePath(String, Boolean).)
Public method RewritePath(String, String, String) Rewrites the URL by using the specified path, path information, and query string information. (Overrides HttpContextBase::RewritePath(String, String, String).)
Public method RewritePath(String, String, String, Boolean) Rewrites the URL by using the specified path, path information, query string information, and a value that specifies whether the client file path is set to the rewrite path. (Overrides HttpContextBase::RewritePath(String, String, String, Boolean).)
Public method SetSessionStateBehavior Sets the type of session state behavior that is required in order to support an HTTP request. (Overrides HttpContextBase::SetSessionStateBehavior(SessionStateBehavior).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show: