Export (0) Print
Expand All

HttpGetAttribute Class

Specifies that an action supports the GET HTTP method.

System.Object
  System.Attribute
    System.Web.Http.HttpGetAttribute

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

[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class HttpGetAttribute : Attribute, 
	IActionHttpMethodProvider

The HttpGetAttribute type exposes the following members.

  NameDescription
Public methodHttpGetAttributeInitializes a new instance of the HttpGetAttribute class.
Top

  NameDescription
Public propertyHttpMethodsGets the http methods that correspond to this attribute.
Public propertyTypeId (Inherited from Attribute.)
Top

  NameDescription
Public methodEquals (Inherited from Attribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
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