Share via


AsyncControllerActionInvoker.BeginInvokeActionMethod Method

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

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

Syntax

'Declaration
Protected Friend Overridable Function BeginInvokeActionMethod ( _
    controllerContext As ControllerContext, _
    actionDescriptor As ActionDescriptor, _
    parameters As IDictionary(Of String, Object), _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
protected internal virtual IAsyncResult BeginInvokeActionMethod(
    ControllerContext controllerContext,
    ActionDescriptor actionDescriptor,
    IDictionary<string, Object> parameters,
    AsyncCallback callback,
    Object state
)
protected public:
virtual IAsyncResult^ BeginInvokeActionMethod(
    ControllerContext^ controllerContext, 
    ActionDescriptor^ actionDescriptor, 
    IDictionary<String^, Object^>^ parameters, 
    AsyncCallback^ callback, 
    Object^ state
)

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
An object that contains the result of an asynchronous operation.

See Also

Reference

AsyncControllerActionInvoker Class

System.Web.Mvc.Async Namespace