Partager via


AuthorizationContext.ActionDescriptor Property

Provides information about the action method that is marked by the AuthorizeAttribute attribute, such as its name, controller, parameters, attributes, and filters.

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

Syntax

'Declaration
Public Overridable Property ActionDescriptor As ActionDescriptor
    Get
    Set
public virtual ActionDescriptor ActionDescriptor { get; set; }
public:
virtual property ActionDescriptor^ ActionDescriptor {
    ActionDescriptor^ get ();
    void set (ActionDescriptor^ value);
}

Property Value

Type: System.Web.Mvc.ActionDescriptor
The action descriptor for the action method that is marked by the AuthorizeAttribute attribute.

See Also

Reference

AuthorizationContext Class

System.Web.Mvc Namespace