HttpApplication.AddOnAcquireRequestStateAsync 方法

定义

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

重载

AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)

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

AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)

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

AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)

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

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

参数

bh
BeginEventHandler

启动 BeginEventHandler 的异步处理的 AcquireRequestStateThe BeginEventHandler that starts asynchronous processing of the AcquireRequestState.

eh
EndEventHandler

结束 EndEventHandler 的异步处理的 AcquireRequestStateThe EndEventHandler that ends asynchronous processing of the AcquireRequestState.

AddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)

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

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

参数

beginHandler
BeginEventHandler

启动 BeginEventHandler 的异步处理的 AcquireRequestStateThe BeginEventHandler that starts asynchronous processing of the AcquireRequestState.

endHandler
EndEventHandler

结束 EndEventHandler 的异步处理的 AcquireRequestStateThe EndEventHandler that ends asynchronous processing of the AcquireRequestState.

state
Object

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

适用于