Export (0) Print
Expand All

HttpOptionsAttribute Class

Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP OPTIONS requests.

System::Object
  System::Attribute
    System.Web.Http::HttpOptionsAttribute

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

[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = false, Inherited = true)]
public ref class HttpOptionsAttribute sealed : public Attribute

The HttpOptionsAttribute type exposes the following members.

  NameDescription
Public methodHttpOptionsAttributeInitializes a new instance of the HttpOptionsAttribute class.
Top

  NameDescription
Public propertyHttpMethodsGets the collection of methods supported by HTTP OPTIONS requests.
Public propertyTypeId (Inherited from Attribute.)
Top

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