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

定義

啟始對 HTTP 處理常式的非同步呼叫 (Asynchronous Call)。Initiates an asynchronous call to the HTTP handler.

public:
 IAsyncResult ^ BeginProcessRequest(System::Web::HttpContext ^ context, AsyncCallback ^ cb, System::Object ^ extraData);
public IAsyncResult BeginProcessRequest (System.Web.HttpContext context, AsyncCallback cb, object extraData);
abstract member BeginProcessRequest : System.Web.HttpContext * AsyncCallback * obj -> IAsyncResult
Public Function BeginProcessRequest (context As HttpContext, cb As AsyncCallback, extraData As Object) As IAsyncResult

參數

context
HttpContext

HttpContext 物件,提供對內建伺服器物件 (例如 RequestResponseSessionServer) 的參考,用來服務 HTTP 要求。An HttpContext object that provides references to intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.

cb
AsyncCallback

要在非同步方法呼叫完成時呼叫的 AsyncCallbackThe AsyncCallback to call when the asynchronous method call is complete. 如果 cbnull,則不呼叫委派。If cb is null, the delegate is not called.

extraData
Object

處理要求時所需的任何額外資料。Any extra data needed to process the request.

傳回

IAsyncResult

IAsyncResult,包含處理序狀態的相關資訊。An IAsyncResult that contains information about the status of the process.

適用於