TaskAsyncActionDescriptor.BeginExecute Method

Definition

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

public override IAsyncResult BeginExecute (System.Web.Mvc.ControllerContext controllerContext, System.Collections.Generic.IDictionary<string,object> parameters, AsyncCallback callback, object state);
override this.BeginExecute : System.Web.Mvc.ControllerContext * System.Collections.Generic.IDictionary<string, obj> * AsyncCallback * obj -> IAsyncResult
Public Overrides Function BeginExecute (controllerContext As ControllerContext, parameters As IDictionary(Of String, Object), callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

controllerContext
ControllerContext

The controller context.

parameters
IDictionary<String,Object>

The parameters of the action method.

callback
AsyncCallback

The optional callback method.

state
Object

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

Returns

An object that contains the result of an asynchronous call.

Applies to