ReflectedControllerDescriptor.FindAction Method
Visual Studio 2010
Finds the specified action for the specified controller context.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Overrides Function FindAction ( _ controllerContext As ControllerContext, _ actionName As String _ ) As ActionDescriptor
Parameters
- controllerContext
- Type: System.Web.Mvc.ControllerContext
The controller context.
- actionName
- Type: System.String
The name of the action.
| Exception | Condition |
|---|---|
| ArgumentNullException | The controllerContext parameter is Nothing. |
| ArgumentException | The actionName parameter is Nothing or empty. |
Community Additions
ADD
Show: