HttpApplication.AddOnEndRequestAsync 方法

定义

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

重载

AddOnEndRequestAsync(BeginEventHandler, EndEventHandler)

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

AddOnEndRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

AddOnEndRequestAsync(BeginEventHandler, EndEventHandler)

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

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

参数

bh
BeginEventHandler

启动 BeginEventHandler 的异步处理的 EndRequestThe BeginEventHandler that starts asynchronous processing of the EndRequest.

eh
EndEventHandler

结束 EndEventHandler 的异步处理的 EndRequestThe EndEventHandler that ends asynchronous processing of the EndRequest.

AddOnEndRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

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

参数

beginHandler
BeginEventHandler

启动 BeginEventHandler 的异步处理的 EndRequestThe BeginEventHandler that starts asynchronous processing of the EndRequest.

endHandler
EndEventHandler

结束 EndEventHandler 的异步处理的 EndRequestThe EndEventHandler that ends asynchronous processing of the EndRequest.

state
Object

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

适用于