HttpApplication.AddOnMapRequestHandlerAsync 方法

定义

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

重载

AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)

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

AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)

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

注解

.NET Framework 版本3.5 中引入了 AddOnMapRequestHandlerAsyncAddOnMapRequestHandlerAsync is introduced in the .NET Framework version 3.5. 有关详细信息,请参见版本和依赖关系For more information, see Versions and Dependencies.

AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)

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

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

参数

bh
BeginEventHandler

启动 BeginEventHandler 的异步处理的 MapRequestHandlerThe BeginEventHandler that starts asynchronous processing of the MapRequestHandler.

eh
EndEventHandler

结束 EndEventHandler 的异步处理的 MapRequestHandlerThe EndEventHandler that ends asynchronous processing of the MapRequestHandler.

注解

.NET Framework 版本3.5 中引入了 AddOnMapRequestHandlerAsyncAddOnMapRequestHandlerAsync is introduced in the .NET Framework version 3.5. 有关详细信息,请参见版本和依赖关系For more information, see Versions and Dependencies.

AddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)

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

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

参数

beginHandler
BeginEventHandler

启动 BeginEventHandler 的异步处理的 MapRequestHandlerThe BeginEventHandler that starts asynchronous processing of the MapRequestHandler.

endHandler
EndEventHandler

结束 EndEventHandler 的异步处理的 MapRequestHandlerThe EndEventHandler that ends asynchronous processing of the MapRequestHandler.

state
Object

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

适用于