HttpApplication.BeginRequest 事件

定义

在 ASP.NET 响应请求时作为 HTTP 执行管线链中的第一个事件发生。Occurs as the first event in the HTTP pipeline chain of execution when ASP.NET responds to a request.

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

注解

BeginRequest 事件指示创建任何给定的新请求。The BeginRequest event signals the creation of any given new request. 此事件始终引发,并始终是在处理请求期间发生的第一个事件。This event is always raised and is always the first event to occur during the processing of a request.

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

适用于

另请参阅