ActionNameAttribute Constructor (String)
Initializes a new instance of the ActionNameAttribute class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- name
-
Type:
System.String
Name of the action.
| Exception | Condition |
|---|---|
| ArgumentException | The name parameter is null or empty. |
Show: