Controller.HandleUnknownAction Method (String)

 

Called when a request matches this controller, but no method with the specified action name is found in the controller.

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

Syntax

protected virtual void HandleUnknownAction(
    string actionName
)
protected:
virtual void HandleUnknownAction(
    String^ actionName
)
abstract HandleUnknownAction : 
        actionName:string -> unit
override HandleUnknownAction : 
        actionName:string -> unit
Protected Overridable Sub HandleUnknownAction (
    actionName As String
)

Parameters

  • actionName
    Type: System.String

    The name of the attempted action.

Remarks

The result object that is prepared by this method is written to the response by the ASP.NET MVC framework when the object is executed.

See Also

Controller Class
System.Web.Mvc Namespace

Return to top