IAsyncActionInvoker.BeginInvokeAction Method
Invokes the specified action.
Namespace: System.Web.Mvc.Async
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Function BeginInvokeAction ( _
controllerContext As ControllerContext, _
actionName As String, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
IAsyncResult BeginInvokeAction(
ControllerContext controllerContext,
string actionName,
AsyncCallback callback,
Object state
)
IAsyncResult^ BeginInvokeAction(
ControllerContext^ controllerContext,
String^ actionName,
AsyncCallback^ callback,
Object^ state
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- actionName
Type: System.String
The name of the asynchronous action.
- callback
Type: System.AsyncCallback
The callback method.
- state
Type: System.Object
The state.
Return Value
Type: System.IAsyncResult
The status of the asynchronous result.