HttpTaskAsyncHandler.IHttpAsyncHandler.BeginProcessRequest(HttpContext, AsyncCallback, Object) 方法

定義

啟始非同步處理 HTTP 工作處理常式中的工作。Initiates asynchronous processing of a task in an HTTP task handler.

 virtual IAsyncResult ^ System.Web.IHttpAsyncHandler.BeginProcessRequest(System::Web::HttpContext ^ context, AsyncCallback ^ cb, System::Object ^ extraData) = System::Web::IHttpAsyncHandler::BeginProcessRequest;
IAsyncResult IHttpAsyncHandler.BeginProcessRequest (System.Web.HttpContext context, AsyncCallback cb, object extraData);
abstract member System.Web.IHttpAsyncHandler.BeginProcessRequest : System.Web.HttpContext * AsyncCallback * obj -> IAsyncResult
override this.System.Web.IHttpAsyncHandler.BeginProcessRequest : System.Web.HttpContext * AsyncCallback * obj -> IAsyncResult
Function BeginProcessRequest (context As HttpContext, cb As AsyncCallback, extraData As Object) As IAsyncResult Implements IHttpAsyncHandler.BeginProcessRequest

參數

context
HttpContext

HTTP 內容。The HTTP context.

cb
AsyncCallback

方法傳回時要叫用的回呼方法。The callback method to invoke when the method returns.

extraData
Object

用於處理工作的其他資料。Additional data for processing the task.

傳回

IAsyncResult

包含非同步作業之狀態資料的物件。An object that contains status data about the asynchronous operation.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 HttpTaskAsyncHandler 執行個體轉換成 IHttpAsyncHandler 介面時,才能使用這個成員。It can be used only when the HttpTaskAsyncHandler instance is cast to an IHttpAsyncHandler interface.

適用於