This documentation is archived and is not being maintained.
HttpContextBase Members
Visual Studio 2008
Serves as the base class for classes that contain HTTP-specific information about an individual HTTP request.
The HttpContextBase type exposes the following members.
| Name | Description | |
|---|---|---|
|
HttpContextBase | Initializes the class for use by an inherited class instance. This constructor can only be called by an inherited class. |
| Name | Description | |
|---|---|---|
|
AddError | When overridden in a derived class, adds an exception to the exception collection for the current HTTP request. |
|
ClearError | When overridden in a derived class, 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.) |
|
GetGlobalResourceObject | Overloaded. When overridden in a derived class, gets an application-level resource. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLocalResourceObject | Overloaded. When overridden in a derived class, gets a page-level resource. |
|
GetSection | When overridden in a derived class, gets the specified configuration section of the current application's default configuration. |
|
GetService | When overridden in a derived class, returns an object for the current service type. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
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. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
AllErrors | When overridden in a derived class, gets an array of errors (if any) that accumulated when an HTTP request was being processed. |
|
Application | When overridden in a derived class, gets the HttpApplicationState object for the current HTTP request. |
|
ApplicationInstance | When overridden in a derived class, gets or sets the HttpApplication object for the current HTTP request. |
|
Cache | When overridden in a derived class, gets the Cache object for the current application domain. |
|
CurrentHandler | When overridden in a derived class, gets the IHttpHandler object that represents the handler that is currently executing. |
|
CurrentNotification | When overridden in a derived class, gets a RequestNotification value that indicates the HttpApplication event that is currently processing. |
|
Error | When overridden in a derived class, gets the first error (if any) that accumulated when an HTTP request was being processed. |
|
Handler | When overridden in a derived class, gets or sets the IHttpHandler object that is responsible for processing the HTTP request. |
|
IsCustomErrorEnabled | When overridden in a derived class, gets a value that indicates whether custom errors are enabled for the current HTTP request. |
|
IsDebuggingEnabled | When overridden in a derived class, gets a value that indicates whether the current HTTP request is in debug mode. |
|
IsPostNotification | When overridden in a derived class, gets a value that indicates whether an HttpApplication event has finished processing. |
|
Items | When overridden in a derived class, gets a key/value collection that can be used to organize and share data between a module and a handler during an HTTP request. |
|
PreviousHandler | When overridden in a derived class, gets the IHttpHandler object for the parent handler. |
|
Profile | When overridden in a derived class, gets the ProfileBase object for the current user profile. |
|
Request | When overridden in a derived class, gets the HttpRequest object for the current HTTP request. |
|
Response | When overridden in a derived class, gets the HttpResponse object for the current HTTP response. |
|
Server | When overridden in a derived class, gets the HttpServerUtility object that provides methods that are used when Web requests are being processed. |
|
Session | When overridden in a derived class, gets the HttpSessionState object for the current HTTP request. |
|
SkipAuthorization | When overridden in a derived class, gets or sets a value that specifies whether the UrlAuthorizationModule object should skip the authorization check for the current request. |
|
Timestamp | When overridden in a derived class, gets the initial timestamp of the current HTTP request. |
|
Trace | When overridden in a derived class, gets the TraceContext object for the current HTTP response. |
|
User | When overridden in a derived class, gets or sets security information for the current HTTP request. |
Show: