Try our conversational search powered by Generative AI!

Interface IUnknownActionHandler

Handles actions without an action method in page controllers.

Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public interface IUnknownActionHandler

Properties

ActionName

The action this action handler handles.

Declaration
string ActionName { get; }
Property Value
Type Description
System.String

Methods

HandleAction(Controller)

Handles unknown action when an action hasn't been found by the controller

Declaration
ActionResult HandleAction(Controller controller)
Parameters
Type Name Description
System.Web.Mvc.Controller controller

The controller

Returns
Type Description
System.Web.Mvc.ActionResult

ActionResult if handled otherwise null

Extension Methods