Delen via


AsyncController.IAsyncController.BeginExecute Method

Called by ASP.NET to begin the execution of an asynchronous action method.

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

Syntax

'Declaration
Private Function BeginExecute ( _
    requestContext As RequestContext, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult Implements IAsyncController.BeginExecute
IAsyncResult IAsyncController.BeginExecute(
    RequestContext requestContext,
    AsyncCallback callback,
    Object state
)
private:
virtual IAsyncResult^ BeginExecute(
    RequestContext^ requestContext, 
    AsyncCallback^ callback, 
    Object^ state
) sealed = IAsyncController::BeginExecute

Parameters

  • state
    Type: System.Object
    An object that contains information to be used by the callback method. This parameter can be null reference (Nothing in Visual Basic).

Return Value

Type: System.IAsyncResult
The status of the asynchronous operation.

Implements

IAsyncController.BeginExecute(RequestContext, AsyncCallback, Object)

Remarks

This method is called by ASP.NET while it is processing an asynchronous action method. It cannot be called directly.

This member is an explicit interface member implementation. It can be used only when the AsyncController instance is cast to an IAsyncResult interface.

See Also

Reference

AsyncController Class

System.Web.Mvc Namespace