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

定义

启动对 HTTP 事件处理程序的异步调用。Initiates an asynchronous call to the HTTP event 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);
Function BeginProcessRequest (context As HttpContext, cb As AsyncCallback, extraData As Object) As IAsyncResult Implements IHttpAsyncHandler.BeginProcessRequest

参数

context
HttpContext

一个 HttpContext,提供对服务于 HTTP 请求的内部服务器对象的引用。An HttpContext that provides references to intrinsic server objects that are used to service HTTP requests.

cb
AsyncCallback

异步方法调用完成时要调用的 AsyncCallbackThe AsyncCallback to call when the asynchronous method call is complete. 如果 cb 参数为 null,则没有调用该委托。If the cb parameter is null, the delegate is not called.

extraData
Object

处理该请求所必需的所有额外数据。Any extra data that is required to process the request.

返回

包含有关进程状态信息的 IAsyncResultAn IAsyncResult that contains information about the status of the process.

实现

适用于