AsyncControllerActionInvoker.BeginInvokeAction Method

Definition

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

public virtual IAsyncResult BeginInvokeAction (System.Web.Mvc.ControllerContext controllerContext, string actionName, AsyncCallback callback, object state);
abstract member BeginInvokeAction : System.Web.Mvc.ControllerContext * string * AsyncCallback * obj -> IAsyncResult
override this.BeginInvokeAction : System.Web.Mvc.ControllerContext * string * AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginInvokeAction (controllerContext As ControllerContext, actionName As String, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

controllerContext
ControllerContext

The controller context.

actionName
String

The name of the action.

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 operation.ImplementsBeginInvokeAction(ControllerContext, String, AsyncCallback, Object)

Implements

Applies to