This documentation is archived and is not being maintained.

DefaultHttpHandler.BeginProcessRequest Method

Initiates an asynchronous call to the HTTP handler.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual IAsyncResult BeginProcessRequest(
	HttpContext context,
	AsyncCallback callback,
	Object state


Type: System.Web.HttpContext
An object that provides references to intrinsic server objects that are used to service HTTP requests.
Type: System.AsyncCallback
The method to call when the asynchronous method call is complete. If callback is null, the delegate is not called.
Type: System.Object
Any state data that is needed to process the request.

Return Value

Type: System.IAsyncResult
An IAsyncResult that contains information about the status of the process.


IHttpAsyncHandler.BeginProcessRequest(HttpContext, AsyncCallback, Object)


The preconditions for processing a request fail and either the requested file has the suffix .asp or the request was sent through POST.

When creating an HTTP handler for asynchronous use, your handler must implement the asynchronous BeginProcessRequest and EndProcessRequest methods that are called asynchronously by ASP.NET.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.