Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ReflectedControllerDescriptor.FindAction Method

Finds the specified action for the specified controller context.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public override ActionDescriptor FindAction(
	ControllerContext controllerContext,
	string actionName
)

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.
ExceptionCondition
ArgumentNullException

The controllerContext parameter is null.

ArgumentException

The actionName parameter is null or empty.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.