This documentation is archived and is not being maintained.

HttpContextBase Methods

The HttpContextBase type exposes the following members.

  NameDescription
Public method AddError When overridden in a derived class, adds an exception to the exception collection for the current HTTP request.
Public method ClearError When overridden in a derived class, clears all errors for the current HTTP request.
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) When overridden in a derived class, gets an application-level resource object based on the specified ClassKey and ResourceKey properties.
Public method GetGlobalResourceObject(String, String, CultureInfo) When overridden in a derived class, gets an application-level resource object based on the specified ClassKey and ResourceKey properties, and on the CultureInfo object.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLocalResourceObject(String, String) When overridden in a derived class, gets a page-level resource object based on the specified VirtualPath and ResourceKey properties.
Public method GetLocalResourceObject(String, String, CultureInfo) When overridden in a derived class, gets a page-level resource object based on the specified VirtualPath and ResourceKey properties, and on the CultureInfo object.
Public method GetSection When overridden in a derived class, gets the specified configuration section of the current application's default configuration.
Public method GetService When overridden in a derived class, returns an object for the current service 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 When overridden in a derived class, specifies a handler for the request.
Public method RewritePath(String) When overridden in a derived class, rewrites the URL by using the specified path.
Public method RewritePath(String, Boolean) When overridden in a derived class, rewrites the URL by using the specified path and a value that specifies whether the virtual path for server resources is modified.
Public method RewritePath(String, String, String) When overridden in a derived class, rewrites the URL by using the specified path, path information, and query string information.
Public method RewritePath(String, String, String, Boolean) When overridden in a derived class, 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.
Public method SetSessionStateBehavior When overridden in a derived class, sets the type of session state behavior that is required to support an HTTP request.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show: