Export (0) Print
Expand All

ActionDescriptor Class

Provides information about an action method, such as its name, controller, parameters, attributes, and filters.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public MustInherit Class ActionDescriptor _
	Implements ICustomAttributeProvider
'Usage
Dim instance As ActionDescriptor

The ActionDescriptor type exposes the following members.

  NameDescription
Protected methodActionDescriptorInitializes a new instance of the ActionDescriptor class.
Top

  NameDescription
Public propertyActionNameGets the name of the action method.
Public propertyControllerDescriptorGets the controller descriptor.
Public propertyUniqueIdGets the unique ID for the action descriptor using lazy initialization.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodExecuteExecutes the action method by using the specified parameters and controller context.
Protected methodFinalize (Inherited from Object.)
Public methodGetCustomAttributes(Boolean)Returns an array of custom attributes that are defined for this member, excluding named attributes.
Public methodGetCustomAttributes(Type, Boolean)Returns an array of custom attributes that are defined for this member, identified by type.
Public methodGetFilterAttributesGets the filter attributes.
Public methodGetFilters Obsolete. Returns the filters that are associated with this action method.
Public methodGetHashCode (Inherited from Object.)
Public methodGetParametersReturns the parameters of the action method.
Public methodGetSelectorsReturns the action-method selectors.
Public methodGetType (Inherited from Object.)
Public methodIsDefinedDetermines whether one or more instances of the specified attribute type are defined for this member.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft