Export (0) Print
Expand All

Controller.ExecuteCore Method

.NET Framework 4

Invokes the action in the current controller context.

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

Protected Overrides Sub ExecuteCore

This method is called by MVC to process a request; it cannot be called directly. This method can be overridden if you derive from the Controller class. If you override this method, call the base control's ExecuteCore method.

The following example shows how to override the ExecuteCore method.

Protected Overloads Overrides Sub ExecuteCore() 
    ActionInvoker = New CustomActionInvoker() 
End Sub

Community Additions

© 2014 Microsoft