HttpApplication.BeginRequest HttpApplication.BeginRequest HttpApplication.BeginRequest HttpApplication.BeginRequest Event

定义

在 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.

适用于

另请参阅