共用方式為


HttpApplication.AddOnPostAuthorizeRequestAsync 方法

定義

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

多載

AddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

AddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler)

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

AddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object)

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

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

參數

beginHandler
BeginEventHandler

開始非同步處理 BeginEventHandlerPostAuthorizeRequest

endHandler
EndEventHandler

結束非同步處理 EndEventHandlerPostAuthorizeRequest

state
Object

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

適用於

AddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler)

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

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

參數

bh
BeginEventHandler

開始非同步處理 BeginEventHandlerPostAuthorizeRequest

eh
EndEventHandler

結束非同步處理 EndEventHandlerPostAuthorizeRequest

適用於