HttpApplication.AddOnAuthenticateRequestAsync 方法

定义

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

重载

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)

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

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)

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

C#
public void AddOnAuthenticateRequestAsync(System.Web.BeginEventHandler bh, System.Web.EndEventHandler eh);

参数

bh
BeginEventHandler

启动 BeginEventHandler 的异步处理的 AuthenticateRequest

eh
EndEventHandler

结束 EndEventHandler 的异步处理的 AuthenticateRequest

适用于

.NET Framework 4.8.1 和其他版本
产品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

C#
public void AddOnAuthenticateRequestAsync(System.Web.BeginEventHandler beginHandler, System.Web.EndEventHandler endHandler, object state);

参数

beginHandler
BeginEventHandler

启动 BeginEventHandler 的异步处理的 AuthenticateRequest

endHandler
EndEventHandler

结束 EndEventHandler 的异步处理的 AuthenticateRequest

state
Object

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

适用于

.NET Framework 4.8.1 和其他版本
产品 版本
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1