HttpApplication.AddOnAuthenticateRequestAsync 方法

定义

将指定的 AuthenticateRequest 事件添加到当前请求的异步 AuthenticateRequest 事件处理程序的集合。

重载

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)

将指定的 AuthenticateRequest 事件添加到当前请求的异步 AuthenticateRequest 事件处理程序的集合。

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)

将指定的 AuthenticateRequest 事件添加到当前请求的异步 AuthenticateRequest 事件处理程序的集合。

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)

将指定的 AuthenticateRequest 事件添加到当前请求的异步 AuthenticateRequest 事件处理程序的集合。

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

参数

bh
BeginEventHandler

启动 BeginEventHandler 的异步处理的 AuthenticateRequest

eh
EndEventHandler

结束 EndEventHandler 的异步处理的 AuthenticateRequest

适用于

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)

将指定的 AuthenticateRequest 事件添加到当前请求的异步 AuthenticateRequest 事件处理程序的集合。

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

参数

beginHandler
BeginEventHandler

启动 BeginEventHandler 的异步处理的 AuthenticateRequest

endHandler
EndEventHandler

结束 EndEventHandler 的异步处理的 AuthenticateRequest

state
Object

要添加到异步 AuthenticateRequest 的关联状态。

适用于