AsyncController.BeginExecute Method
Called by ASP.NET to initialize asynchronous request processing.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overridable Function BeginExecute ( _
requestContext As RequestContext, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
protected virtual IAsyncResult BeginExecute(
RequestContext requestContext,
AsyncCallback callback,
Object state
)
protected:
virtual IAsyncResult^ BeginExecute(
RequestContext^ requestContext,
AsyncCallback^ callback,
Object^ state
)
Parameters
- requestContext
Type: System.Web.Routing.RequestContext
The request context.
- callback
Type: System.AsyncCallback
The asynchronous callback method.
- state
Type: System.Object
The state object.
Return Value
Type: System.IAsyncResult
The status of the asynchronous operation.
Remarks
This method is called by ASP.NET in order to process an asynchronous action method. It cannot be called directly.