ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe 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)
Paramètres
- methodInfo
- MethodInfo
Informations de méthode d’action.
- actionName
- String
Nom de l’action.
- controllerDescriptor
- ControllerDescriptor
Descripteur du contrôleur.
Exceptions
methodInfo
Le paramètre ou controllerDescriptor
est null.
Le actionName
paramètre est null ou vide.