ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ReflectedActionDescriptor 类的新实例。
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)
参数
- methodInfo
- MethodInfo
操作方法信息。
- actionName
- String
操作的名称。
- controllerDescriptor
- ControllerDescriptor
控制器描述符。
例外
methodInfo
或 controllerDescriptor
参数为 null。
参数 actionName
为 null 或空。