ReflectedActionDescriptor Constructor (MethodInfo, String, ControllerDescriptor)
Initializes a new instance of the ReflectedActionDescriptor class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
public ReflectedActionDescriptor( MethodInfo methodInfo, string actionName, ControllerDescriptor controllerDescriptor )
Parameters
- methodInfo
-
Type:
System.Reflection.MethodInfo
The action-method information.
- actionName
-
Type:
System.String
The name of the action.
- controllerDescriptor
-
Type:
System.Web.Mvc.ControllerDescriptor
The controller descriptor.
| Exception | Condition |
|---|---|
| ArgumentNullException | Either the methodInfo or controllerDescriptor parameter is null. |
| ArgumentException | The actionName parameter is null or empty. |
Show: