AsyncActionDescriptor.BeginExecute Method

Definition

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

public abstract IAsyncResult BeginExecute (System.Web.Mvc.ControllerContext controllerContext, System.Collections.Generic.IDictionary<string,object> parameters, AsyncCallback callback, object state);
abstract member BeginExecute : System.Web.Mvc.ControllerContext * System.Collections.Generic.IDictionary<string, obj> * AsyncCallback * obj -> IAsyncResult
Public MustOverride 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 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