ReflectedAsyncActionDescriptor.BeginExecute Method (ControllerContext, IDictionary<String, Object>, AsyncCallback, Object)


Begins running the asynchronous action method by using the specified parameters and controller context.

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


public override IAsyncResult BeginExecute(
    ControllerContext controllerContext,
    IDictionary<string, object> parameters,
    AsyncCallback callback,
    object state
virtual IAsyncResult^ BeginExecute(
    ControllerContext^ controllerContext,
    IDictionary<String^, Object^>^ parameters,
    AsyncCallback^ callback,
    Object^ state
) override
override BeginExecute : 
        controllerContext:ControllerContext *
        parameters:IDictionary<string, Object> *
        callback:AsyncCallback *
        state:Object -> IAsyncResult
Public Overrides Function BeginExecute (
    controllerContext As ControllerContext,
    parameters As IDictionary(Of String, Object),
    callback As AsyncCallback,
    state As Object
) As IAsyncResult


  • state
    Type: System.Object

    An object that contains information to be used by the callback method. This parameter can be null.

Return Value

Type: System.IAsyncResult

An object that contains the result of an asynchronous call.

See Also

ReflectedAsyncActionDescriptor Class
System.Web.Mvc.Async Namespace

Return to top