HttpApplication.PostAuthorizeRequest 事件

定义

在当前请求的用户已获授权时发生。Occurs when the user for the current request has been authorized.

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

注解

PostAuthorizeRequest 事件表明 ASP.NET 已授权当前请求。The PostAuthorizeRequest event signals that ASP.NET has authorized the current request. 订阅 PostAuthorizeRequest 事件可确保请求的身份验证和授权,然后才能处理附加的模块或事件处理程序。Subscribing to the PostAuthorizeRequest event ensures authentication and authorization of the request before processing the attached module or event handler.

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

适用于

另请参阅