Share via


AsyncControllerActionInvoker.BeginInvokeActionMethod Method

Definition

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

protected internal virtual IAsyncResult BeginInvokeActionMethod (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, System.Collections.Generic.IDictionary<string,object> parameters, AsyncCallback callback, object state);
abstract member BeginInvokeActionMethod : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor * System.Collections.Generic.IDictionary<string, obj> * AsyncCallback * obj -> IAsyncResult
override this.BeginInvokeActionMethod : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor * System.Collections.Generic.IDictionary<string, obj> * AsyncCallback * obj -> IAsyncResult
Protected Friend Overridable Function BeginInvokeActionMethod (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor, parameters As IDictionary(Of String, Object), callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

controllerContext
ControllerContext

The controller context.

actionDescriptor
ActionDescriptor

The action descriptor.

parameters
IDictionary<String,Object>

The parameters for the asynchronous 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 operation.

Applies to