HttpApplication Members
.NET Framework 2.0
Defines the methods, properties, and events that are common to all application objects within an ASP.NET application. This class is the base class for applications that are defined by the user in the Global.asax file.
The following tables list the members exposed by the HttpApplication type.
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| Application | Gets the current state of an application. |
| Context | Gets HTTP-specific information about the current request. |
| Modules | Gets the collection of modules for the current application. |
| Request | Gets the intrinsic request object for the current request. |
| Response | Gets the intrinsic response object for the current request. |
| Server | Gets the intrinsic server object for the current request. |
| Session | Gets the intrinsic session object that provides access to session data. |
| Site | Provides a site interface for an IComponent implementation. |
| User | Gets the intrinsic user object for the current request. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AddOnAcquireRequestStateAsync | Overloaded. Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request. |
| AddOnAuthenticateRequestAsync | Overloaded. Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request. |
| AddOnAuthorizeRequestAsync | Overloaded. Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request. |
| AddOnBeginRequestAsync | Overloaded. Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request. |
| AddOnEndRequestAsync | Overloaded. Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request. |
| AddOnPostAcquireRequestStateAsync | Overloaded. Adds the specified PostAcquireRequestState event to the collection of asynchronous PostAcquireRequestState event handlers for the current request. |
| AddOnPostAuthenticateRequestAsync | Overloaded. Adds the specified AddOnPostAcquireRequestStateAsync event to the collection of asynchronous PostAuthenticateRequest event handlers for the current request. |
| AddOnPostAuthorizeRequestAsync | Overloaded. Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request. |
| AddOnPostMapRequestHandlerAsync | Overloaded. Adds the specified PostMapRequestHandler event to the collection of asynchronous PostMapRequestHandler event handlers for the current request. |
| AddOnPostReleaseRequestStateAsync | Overloaded. Adds the specified PostReleaseRequestState event to the collection of asynchronous PostReleaseRequestState event handlers for the current request. |
| AddOnPostRequestHandlerExecuteAsync | Overloaded. Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request. |
| AddOnPostResolveRequestCacheAsync | Overloaded. Adds the specified PostResolveRequestCache event to the collection of asynchronous PostResolveRequestCache event handlers for the current request. |
| AddOnPostUpdateRequestCacheAsync | Overloaded. Adds the specified PostUpdateRequestCache event to the collection of asynchronous PostUpdateRequestCache event handlers for the current request. |
| AddOnPreRequestHandlerExecuteAsync | Overloaded. Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request. |
| AddOnReleaseRequestStateAsync | Overloaded. Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request. |
| AddOnResolveRequestCacheAsync | Overloaded. Adds the specified ResolveRequestCache event handler to the collection of asynchronous ResolveRequestCache event handlers for the current request. |
| AddOnUpdateRequestCacheAsync | Overloaded. Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request. |
| CompleteRequest | Causes ASP.NET to bypass all events and filtering in the HTTP pipeline chain of execution and directly execute the EndRequest event. |
| Dispose | Disposes the HttpApplication instance. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| GetVaryByCustomString | Provides an application-wide implementation of the VaryByCustom property. |
| Init | Executes custom initialization code after all event handler modules have been added. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AcquireRequestState | Occurs when ASP.NET acquires the current state (for example, session state) that is associated with the current request. |
| AuthenticateRequest | Occurs when a security module has established the identity of the user. |
| AuthorizeRequest | Occurs when a security module has verified user authorization. |
| BeginRequest | Occurs as the first event in the HTTP pipeline chain of execution when ASP.NET responds to a request. |
| Disposed | Adds an event handler to listen to the Disposed event on the application. |
| EndRequest | Occurs as the last event in the HTTP pipeline chain of execution when ASP.NET responds to a request. |
| Error | Occurs when an unhandled exception is thrown. |
| PostAcquireRequestState | Occurs when the request state (for example, session state) that is associated with the current request has been obtained. |
| PostAuthenticateRequest | Occurs when a security module has established the identity of the user. |
| PostAuthorizeRequest | Occurs when the user for the current request has been authorized. |
| PostMapRequestHandler | Occurs when ASP.NET has mapped the current request to the appropriate event handler. |
| PostReleaseRequestState | Occurs when ASP.NET has completed executing all request event handlers and the request state data has been stored. |
| PostRequestHandlerExecute | Occurs when the ASP.NET event handler (for example, a page or an XML Web service) finishes execution. |
| PostResolveRequestCache | Occurs when ASP.NET bypasses execution of the current event handler and allows a caching module to serve a request from the cache. |
| PostUpdateRequestCache | Occurs when ASP.NET completes updating caching modules and storing responses that are used to serve subsequent requests from the cache. |
| PreRequestHandlerExecute | Occurs just before ASP.NET begins executing an event handler (for example, a page or an XML Web service). |
| PreSendRequestContent | Occurs just before ASP.NET sends content to the client. |
| PreSendRequestHeaders | Occurs just before ASP.NET sends HTTP headers to the client. |
| ReleaseRequestState | Occurs after ASP.NET finishes executing all request event handlers. This event causes state modules to save the current state data. |
| ResolveRequestCache | Occurs when ASP.NET completes an authorization event to let the caching modules serve requests from the cache, bypassing execution of the event handler (for example, a page or an XML Web service). |
| UpdateRequestCache | Occurs when ASP.NET finishes executing an event handler in order to let caching modules store responses that will be used to serve subsequent requests from the cache. |
| Name | Description | |
|---|---|---|
| System.Web.IHttpAsyncHandler.BeginProcessRequest | Initiates an asynchronous call to the HTTP event handler. |
| System.Web.IHttpAsyncHandler.EndProcessRequest | Provides an asynchronous process End method when the process completes. |
| System.Web.IHttpHandler.ProcessRequest | Enables processing of HTTP Web requests by a custom HTTP handler that implements the IHttpHandler interface. |
| System.Web.IHttpHandler.IsReusable | Gets a Boolean value indicating whether another request can use the IHttpHandler object. |
Community Additions
ADD
Show: