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 或空白。