This documentation is archived and is not being maintained.
HttpContext Methods
Visual Studio 2008
The HttpContext type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddError | Adds an exception to the exception collection for the current HTTP request. |
|
ClearError | Clears all errors for the current HTTP request. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetAppConfig | Obsolete. Returns requested configuration information for the current application. |
|
GetConfig | Obsolete. Returns requested configuration information for the current HTTP request. |
|
GetGlobalResourceObject | Overloaded. Gets an application-level resource. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLocalResourceObject | Overloaded. Gets a page-level resource. |
|
GetSection | Gets a specified configuration section for the current application's default configuration. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
RemapHandler | Enables you to specify a handler for the request. |
|
RewritePath | Overloaded. Redirects a request for a resource to a different path than the one that is indicated by the requested URL. RewritePath is used in cookieless session state to strip session IDs from URLs. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
IServiceProvider::GetService | Infrastructure. Returns an object for the current service type. |
Show: