AsyncControllerActionInvoker.BeginInvokeAction Method

Invokes the asynchronous action method by using the specified controller context, action name, callback method, and state.

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

abstract BeginInvokeAction : 
        controllerContext:ControllerContext * 
        actionName:string * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult  
override BeginInvokeAction : 
        controllerContext:ControllerContext * 
        actionName:string * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

actionName
Type: System.String

The name of the action.

callback
Type: System.AsyncCallback

The callback method.

state
Type: System.Object

An object that contains information to be used by the callback method. This parameter can be a null reference (Nothing in Visual Basic).

Return Value

Type: System.IAsyncResult
An object that contains the result of an asynchronous operation.

Implements

IAsyncActionInvoker.BeginInvokeAction(ControllerContext, String, AsyncCallback, Object)
Show: