HttpApplication.AddOnPostAuthenticateRequestAsync 方法

定义

将指定的 AddOnPostAcquireRequestStateAsync 事件添加到当前请求的异步 PostAuthenticateRequest 事件处理程序的集合。Adds the specified AddOnPostAcquireRequestStateAsync event to the collection of asynchronous PostAuthenticateRequest event handlers for the current request.

重载

AddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)

将指定的 PostAuthenticateRequest 事件添加到当前请求的异步 PostAuthenticateRequest 事件处理程序的集合。Adds the specified PostAuthenticateRequest event to the collection of asynchronous PostAuthenticateRequest event handlers for the current request.

AddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)

将指定的 PostAuthorizeRequest 事件添加到当前请求的异步 PostAuthorizeRequest 事件处理程序的集合。Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request.

AddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)

将指定的 PostAuthenticateRequest 事件添加到当前请求的异步 PostAuthenticateRequest 事件处理程序的集合。Adds the specified PostAuthenticateRequest event to the collection of asynchronous PostAuthenticateRequest event handlers for the current request.

public:
 void AddOnPostAuthenticateRequestAsync(System::Web::BeginEventHandler ^ bh, System::Web::EndEventHandler ^ eh);
public void AddOnPostAuthenticateRequestAsync (System.Web.BeginEventHandler bh, System.Web.EndEventHandler eh);
member this.AddOnPostAuthenticateRequestAsync : System.Web.BeginEventHandler * System.Web.EndEventHandler -> unit
Public Sub AddOnPostAuthenticateRequestAsync (bh As BeginEventHandler, eh As EndEventHandler)

参数

bh
BeginEventHandler

启动 BeginEventHandler 的异步处理的 PostAuthenticateRequestThe BeginEventHandler that starts asynchronous processing of the PostAuthenticateRequest.

eh
EndEventHandler

结束 EndEventHandler 的异步处理的 PostAuthenticateRequestThe EndEventHandler that ends asynchronous processing of the PostAuthenticateRequest.

AddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)

将指定的 PostAuthorizeRequest 事件添加到当前请求的异步 PostAuthorizeRequest 事件处理程序的集合。Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request.

public:
 void AddOnPostAuthenticateRequestAsync(System::Web::BeginEventHandler ^ beginHandler, System::Web::EndEventHandler ^ endHandler, System::Object ^ state);
public void AddOnPostAuthenticateRequestAsync (System.Web.BeginEventHandler beginHandler, System.Web.EndEventHandler endHandler, object state);
member this.AddOnPostAuthenticateRequestAsync : System.Web.BeginEventHandler * System.Web.EndEventHandler * obj -> unit
Public Sub AddOnPostAuthenticateRequestAsync (beginHandler As BeginEventHandler, endHandler As EndEventHandler, state As Object)

参数

beginHandler
BeginEventHandler

启动 BeginEventHandler 的异步处理的 PostAuthorizeRequestThe BeginEventHandler that starts asynchronous processing of the PostAuthorizeRequest.

endHandler
EndEventHandler

结束 EndEventHandler 的异步处理的 PostAuthorizeRequestThe EndEventHandler that ends asynchronous processing of the PostAuthorizeRequest.

state
Object

要添加到异步 PostAuthorizeRequest 的关联状态。The associated state to add to the asynchronous PostAuthorizeRequest.

适用于