ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor) Constructor

Definition

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.

Applies to