ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor) 建構函式

定義

初始化 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

控制器描述元。

例外狀況

methodInfocontrollerDescriptor 參數為 null。

參數 actionName 為 Null 或空白。

適用於