ControllerActionInvoker.InvokeActionMethod Method
Invokes the specified action method by using the specified parameters and the controller context.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overridable Function InvokeActionMethod ( _
controllerContext As ControllerContext, _
actionDescriptor As ActionDescriptor, _
parameters As IDictionary(Of String, Object) _
) As ActionResult
protected virtual ActionResult InvokeActionMethod(
ControllerContext controllerContext,
ActionDescriptor actionDescriptor,
IDictionary<string, Object> parameters
)
protected:
virtual ActionResult^ InvokeActionMethod(
ControllerContext^ controllerContext,
ActionDescriptor^ actionDescriptor,
IDictionary<String^, Object^>^ parameters
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- actionDescriptor
Type: System.Web.Mvc.ActionDescriptor
The action descriptor.
- parameters
Type: System.Collections.Generic.IDictionary<String, Object>
The parameters.
Return Value
Type: System.Web.Mvc.ActionResult
The result of executing the action method.