ReflectedActionDescriptor Constructor
Initializes a new instance of the ReflectedActionDescriptor class.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Sub New ( _ methodInfo As MethodInfo, _ actionName As String, _ controllerDescriptor As ControllerDescriptor _ ) 'Usage Dim methodInfo As MethodInfo Dim actionName As String Dim controllerDescriptor As ControllerDescriptor Dim instance As New ReflectedActionDescriptor(methodInfo, _ actionName, 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 Nothing. |
| ArgumentException | The actionName parameter is Nothing or empty. |
Show: