ReflectedControllerDescriptor.FindAction Method (ControllerContext, String)

 

Finds the specified action for the specified controller context.

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

No code example is currently available or this language may not be supported.

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

actionName
Type: System.String

The name of the action.

Return Value

Type: System.Web.Mvc.ActionDescriptor

The information about the action.

Exception Condition
ArgumentNullException

The controllerContext parameter is null.

ArgumentException

The actionName parameter is null or empty.

Return to top
Show: