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 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 Overloaded. When overridden in a derived class, gets an application-level resource.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLocalResourceObject Overloaded. When overridden in a derived class, gets a page-level resource.
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 RewritePath Overloaded. When overridden in a derived class, assigns an internal rewrite path, which lets the request URL differ from the internal path of the resource.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show: