Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NonActionAttribute Class
Collapse the table of content
Expand the table of content

NonActionAttribute Class

 

Represents an attribute that is used to indicate that a controller method is not an action method.

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


[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, 
	Inherited = true)]
public sealed class NonActionAttribute : ActionMethodSelectorAttribute

NameDescription
System_CAPS_pubmethodNonActionAttribute()

Initializes a new instance of the NonActionAttribute class.

NameDescription
System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodIsValidForRequest(ControllerContext, MethodInfo)

Determines whether the attribute marks a method that is not an action method by using the specified controller context.(Overrides ActionMethodSelectorAttribute.IsValidForRequest(ControllerContext, MethodInfo).)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

For more information about how to use attributes, see .

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

Return to top
Show:
© 2015 Microsoft