Freigeben über


ReflectedAsyncActionDescriptor.BeginExecute Method

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)

Syntax

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

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 call.

See Also

Reference

ReflectedAsyncActionDescriptor Class

System.Web.Mvc.Async Namespace