.NET Framework Class Library
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)
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class AcceptVerbsAttribute _
Inherits ActionMethodSelectorAttribute
Dim instance As AcceptVerbsAttribute
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class AcceptVerbsAttribute : ActionMethodSelectorAttribute
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = false, Inherited = true)]
public ref class AcceptVerbsAttribute sealed : public ActionMethodSelectorAttribute
For more information about using attributes, see Extending Metadata Using Attributes.
System..::.Object
System..::.Attribute
System.Web.Mvc..::.ActionMethodSelectorAttribute
System.Web.Mvc..::.AcceptVerbsAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Reference