ReflectedParameterDescriptor Constructor
Initializes a new instance of the ReflectedParameterDescriptor class.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
parameterInfo As ParameterInfo, _
actionDescriptor As ActionDescriptor _
)
public ReflectedParameterDescriptor(
ParameterInfo parameterInfo,
ActionDescriptor actionDescriptor
)
public:
ReflectedParameterDescriptor(
ParameterInfo^ parameterInfo,
ActionDescriptor^ actionDescriptor
)
Parameters
- parameterInfo
Type: System.Reflection.ParameterInfo
The parameter information.
- actionDescriptor
Type: System.Web.Mvc.ActionDescriptor
The action descriptor.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The parameterInfo or actionDescriptor parameter is null reference (Nothing in Visual Basic). |