HttpApplication.PostAuthorizeRequest HttpApplication.PostAuthorizeRequest HttpApplication.PostAuthorizeRequest HttpApplication.PostAuthorizeRequest Event

定义

在当前请求的用户已获授权时发生。 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.

适用于

另请参阅