Freigeben über


ReflectedActionDescriptor Constructor

Initializes a new instance of the ReflectedActionDescriptor class.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Sub New ( _
    methodInfo As MethodInfo, _
    actionName As String, _
    controllerDescriptor As ControllerDescriptor _
)
public ReflectedActionDescriptor(
    MethodInfo methodInfo,
    string actionName,
    ControllerDescriptor controllerDescriptor
)
public:
ReflectedActionDescriptor(
    MethodInfo^ methodInfo, 
    String^ actionName, 
    ControllerDescriptor^ controllerDescriptor
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Either the methodInfo or controllerDescriptor parameter is null reference (Nothing in Visual Basic).

ArgumentException

The actionName parameter is null reference (Nothing in Visual Basic) or empty.

See Also

Reference

ReflectedActionDescriptor Class

System.Web.Mvc Namespace