Partager via


ActionDescriptor.Execute Method

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

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public MustOverride Function Execute ( _
    controllerContext As ControllerContext, _
    parameters As IDictionary(Of String, Object) _
) As Object
public abstract Object Execute(
    ControllerContext controllerContext,
    IDictionary<string, Object> parameters
)
public:
virtual Object^ Execute(
    ControllerContext^ controllerContext, 
    IDictionary<String^, Object^>^ parameters
) abstract

Parameters

Return Value

Type: System.Object
The result of executing the action method.

See Also

Reference

ActionDescriptor Class

System.Web.Mvc Namespace