现在的位置: 首页 > 综合 > 正文

HttpApplication Events

2012年12月31日 ⁄ 综合 ⁄ 共 2479字 ⁄ 字号 评论关闭
  Name Description
Public event AcquireRequestState Occurs when ASP.NET acquires the current state (for example, session state) that is associated with the current request.
Public event AuthenticateRequest Occurs when a security module has established the identity of the user.
Public event AuthorizeRequest Occurs when a security module has verified user authorization.
Public event BeginRequest Occurs as the first event in the HTTP pipeline chain of execution when ASP.NET responds to a request.
Public event Disposed Occurs when the application is disposed.
Public event EndRequest Occurs as the last event in the HTTP pipeline chain of execution when ASP.NET responds to a request.
Public event Error Occurs when an unhandled exception is thrown.
Public event LogRequest Occurs just before ASP.NET performs any logging for the current request.
Public event MapRequestHandler Infrastructure. Occurs when the handler is selected to respond to the request.
Public event PostAcquireRequestState Occurs when the request state (for example, session state) that is associated with the current request has been obtained.
Public event PostAuthenticateRequest Occurs when a security module has established the identity of the user.
Public event PostAuthorizeRequest Occurs when the user for the current request has been authorized.
Public event PostLogRequest Occurs when ASP.NET has completed processing all the event handlers for the LogRequest event.
Public event PostMapRequestHandler Occurs when ASP.NET has mapped the current request to the appropriate event handler.
Public event PostReleaseRequestState Occurs when ASP.NET has completed executing all request event handlers and the request state data has been stored.
Public event PostRequestHandlerExecute Occurs when the ASP.NET event handler (for example, a page or an XML Web service) finishes execution.
Public event PostResolveRequestCache Occurs when ASP.NET bypasses execution of the current event handler and allows a caching module to serve a request from the cache.
Public event PostUpdateRequestCache Occurs when ASP.NET finishes updating caching modules and storing responses that are used to serve subsequent requests from the cache.
Public event PreRequestHandlerExecute Occurs just before ASP.NET starts executing an event handler (for example, a page or an XML Web service).
Public event PreSendRequestContent Occurs just before ASP.NET sends content to the client.
Public event PreSendRequestHeaders Occurs just before ASP.NET sends HTTP headers to the client.
Public event ReleaseRequestState Occurs after ASP.NET finishes executing all request event handlers. This event causes state modules to save the current state data.
Public event ResolveRequestCache Occurs when ASP.NET finishes 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).
Public event 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.

http://msdn.microsoft.com/en-us/library/0dbhtdck(v=vs.100).aspx

抱歉!评论已关闭.