ControllerActionInvoker.InvokeActionMethod Method

Definition

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

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

Parameters

controllerContext
ControllerContext

The controller context.

actionDescriptor
ActionDescriptor

The action descriptor.

parameters
IDictionary<String,Object>

The parameters.

Returns

The result of executing the action method.

Applies to