ActionDescriptor Class
Visual Studio 2010
Provides information about an action method, such as its name, controller, parameters, attributes, and filters.
System.Object
System.Web.Mvc.ActionDescriptor
System.Web.Mvc.Async.AsyncActionDescriptor
System.Web.Mvc.ReflectedActionDescriptor
System.Web.Mvc.ActionDescriptor
System.Web.Mvc.Async.AsyncActionDescriptor
System.Web.Mvc.ReflectedActionDescriptor
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The ActionDescriptor type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ActionName | Gets the name of the action method. |
![]() | ControllerDescriptor | Gets the controller descriptor. |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Execute | Executes the action method by using the specified parameters and controller context. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetCustomAttributes(Boolean) | Returns an array of custom attributes that are defined for this member, excluding named attributes. |
![]() | GetCustomAttributes(Type, Boolean) | Returns an array of custom attributes that are defined for this member, identified by type. |
![]() | GetFilters | Returns the filters that are associated with this action method. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetParameters | Returns the parameters of the action method. |
![]() | GetSelectors | Returns the action-method selectors. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsDefined | Determines whether one or more instances of the specified attribute type are defined for this member. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Community Additions
ADD
Show:


