MvcHandler.BeginProcessRequest Method (HttpContext, AsyncCallback, Object)
Called by ASP.NET to begin asynchronous request processing.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Protected Overridable Function BeginProcessRequest ( _ httpContext As HttpContext, _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult 'Usage Dim httpContext As HttpContext Dim callback As AsyncCallback Dim state As Object Dim returnValue As IAsyncResult returnValue = Me.BeginProcessRequest(httpContext, _ callback, state)
Parameters
- httpContext
- Type: System.Web.HttpContext
The HTTP context.
- callback
- Type: System.AsyncCallback
The asynchronous callback method.
- state
- Type: System.Object
The state of the asynchronous object.
If the controller that handles the request is not asynchronous, the request is processed synchronously.
For more information about the differences between this method and MvcHttpHandler.BeginProcessRequest(HttpContext, AsyncCallback, Object), see the "Remarks" section of the MvcHandler class overview.
Show: