ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ReflectedActionDescriptor class.
public ReflectedActionDescriptor (System.Reflection.MethodInfo methodInfo, string actionName, System.Web.Mvc.ControllerDescriptor controllerDescriptor);
new System.Web.Mvc.ReflectedActionDescriptor : System.Reflection.MethodInfo * string * System.Web.Mvc.ControllerDescriptor -> System.Web.Mvc.ReflectedActionDescriptor
Public Sub New (methodInfo As MethodInfo, actionName As String, controllerDescriptor As ControllerDescriptor)
Parameters
- methodInfo
- MethodInfo
The action-method information.
- actionName
- String
The name of the action.
- controllerDescriptor
- ControllerDescriptor
The controller descriptor.
Exceptions
Either the methodInfo
or controllerDescriptor
parameter is null.
The actionName
parameter is null or empty.