Export (0) Print
Expand All

HttpApplication Members

HttpApplication overview

Public Constructors

public constructorHttpApplication Constructor Initializes a new instance of the HttpApplication class.

Public Properties

public propertyApplication Gets the current state of an application.
public propertyContext Gets HTTP-specific information about the current request.
public propertyModules Gets the collection of modules for the current application.
public propertyRequest Gets the intrinsic request object for the current request.
public propertyResponse Gets the intrinsic response object for the current request.
public propertyServer Gets the intrinsic server object for the current request.
public propertySession Gets the intrinsic session object that provides access to session data.
public propertySite Provides a site interface for an IComponent implementation.
public propertyUser Gets the intrinsic user object for the current request.

Public Methods

public methodAddOnAcquireRequestStateAsync Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request.
public methodAddOnAuthenticateRequestAsync Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request.
public methodAddOnAuthorizeRequestAsync Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request.
public methodAddOnBeginRequestAsync Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request.
public methodAddOnEndRequestAsync Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request.
public methodAddOnPostRequestHandlerExecuteAsync Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request.
public methodAddOnPreRequestHandlerExecuteAsync Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request.
public methodAddOnReleaseRequestStateAsync Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request.
public methodAddOnResolveRequestCacheAsync Adds the specified ResolveRequestCache event handler to the collection of asynchronous ResolveRequestCache event handlers for the current request.
public methodAddOnUpdateRequestCacheAsync Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request.
public methodCompleteRequest Causes ASP.NET to bypass all events in the HTTP pipeline chain of execution and directly execute EndRequest.
public methodDispose Cleans up the instance variables of a module.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodGetVaryByCustomString Provides an application-wide implementation of the VaryByCustom property.
public methodInit Executes custom initialization code after all event-handler modules have been added.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Public Events

public eventAcquireRequestState Occurs when ASP.NET acquires the current state (for example, session state) associated with the current request.
public eventAuthenticateRequest Occurs when a security module has established the identity of the user.
public eventAuthorizeRequest Occurs when a security module has verified user authorization.
public eventBeginRequest Occurs as the first event in the HTTP pipeline chain of execution when ASP.NET responds to a request.
public eventDisposed Adds an event handler to listen to the Disposed event on the application.
public eventEndRequest Occurs as the last event to in the HTTP pipeline chain of execution when ASP.NET responds to a request.
public eventError Occurs when an unhandled exception is thrown.
public eventPostRequestHandlerExecute Occurs when the ASP.NET handler (page, XML Web service) finishes execution.
public eventPreRequestHandlerExecute Occurs just before ASP.NET begins executing a handler such as a page or XML Web service.
public eventPreSendRequestContent Occurs just before ASP.NET sends content to the client.
public eventPreSendRequestHeaders Occurs just before ASP.NET sends HTTP headers to the client.
public eventReleaseRequestState Occurs after ASP.NET finishes executing all request handlers. This event causes state modules to save the current state data.
public eventResolveRequestCache Occurs when ASP.NET completes an authorization event to let the caching modules serve requests from the cache, bypassing execution of the handler (the page or XML Web service, for example).
public eventUpdateRequestCache Occurs when ASP.NET finishes executing a handler in order to let caching modules store responses that will be used to serve subsequent requests from the cache.

Protected Properties

protected propertyEvents Gets the list of event handler delegates that process all application events.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HttpApplication Class | System.Web Namespace

Show:
© 2014 Microsoft