Partager via


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

Return Value

Type: System.Web.Mvc.ActionResult
The result of executing the action method.

See Also

Reference

ControllerActionInvoker Class

System.Web.Mvc Namespace