HttpApplication.AcquireRequestState 事件

定义

当 ASP.NET 获取与当前请求关联的当前状态(如会话状态)时发生。Occurs when ASP.NET acquires the current state (for example, session state) that is associated with the current request.

public:
 event EventHandler ^ AcquireRequestState;
public event EventHandler AcquireRequestState;
member this.AcquireRequestState : EventHandler 
Public Custom Event AcquireRequestState As EventHandler 

示例

有关处理 AcquireRequestState 事件的示例,请参阅 HttpApplication 概述主题。For an example of handling the AcquireRequestState event, see the HttpApplication overview topic.

注解

创建事件处理程序后引发 AcquireRequestState 事件。The AcquireRequestState event is raised after the event handler has been created.

有关如何处理事件的详细信息,请参阅处理和引发事件For more information about how to handle events, see Handling and Raising Events.

适用于

另请参阅