Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AcceptVerbsAttribute Class

 

Represents an attribute that specifies which HTTP verbs an action method will respond to.

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


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

NameDescription
System_CAPS_pubmethodAcceptVerbsAttribute(HttpVerbs)

Initializes a new instance of the AcceptVerbsAttribute class using the HTTP verbs that the action method will respond to.

System_CAPS_pubmethodAcceptVerbsAttribute(String[])

Initializes a new instance of the AcceptVerbsAttribute class by using a list of HTTP verbs that the action method will respond to.

NameDescription
System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

System_CAPS_pubpropertyVerbs

Gets or sets the list of HTTP verbs that the action method will respond to.

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 specified method information is valid for 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 using 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:
© 2016 Microsoft