共用方式為


HttpApplication.AddOnPostAcquireRequestStateAsync 方法

定義

將指定的 PostAcquireRequestState 事件加入目前要求之非同步 PostAcquireRequestState 事件處理常式的集合。

多載

AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)

將指定的 PostAcquireRequestState 事件加入目前要求之非同步 PostAcquireRequestState 事件處理常式的集合。

AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)

將指定的 PostAcquireRequestState 事件加入目前要求之非同步 PostAcquireRequestState 事件處理常式的集合。

AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)

將指定的 PostAcquireRequestState 事件加入目前要求之非同步 PostAcquireRequestState 事件處理常式的集合。

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

參數

eh
EndEventHandler

結束非同步處理 EndEventHandlerPostAcquireRequestState

適用於

AddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)

將指定的 PostAcquireRequestState 事件加入目前要求之非同步 PostAcquireRequestState 事件處理常式的集合。

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

參數

beginHandler
BeginEventHandler

開始非同步處理 BeginEventHandlerPostAcquireRequestState

endHandler
EndEventHandler

結束非同步處理 EndEventHandlerPostAcquireRequestState

state
Object

要加入至非同步 PostAcquireRequestState 的關聯狀態。

適用於