HttpOptionsAttribute Class
Represents an attribute that is used to restrict an action method so that the method handles only HTTP OPTIONS requests.
System.Object
System.Attribute
System.Web.Mvc.ActionMethodSelectorAttribute
System.Web.Mvc.HttpOptionsAttribute
System.Attribute
System.Web.Mvc.ActionMethodSelectorAttribute
System.Web.Mvc.HttpOptionsAttribute
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The HttpOptionsAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Attribute.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Attribute.) |
![]() | GetType | (Inherited from Object.) |
![]() | IsDefaultAttribute | (Inherited from Attribute.) |
![]() | IsValidForRequest | Determines whether a request is a valid HTTP OPTIONS request. (Overrides ActionMethodSelectorAttribute.IsValidForRequest(ControllerContext, MethodInfo).) |
![]() | Match | (Inherited from Attribute.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke | (Inherited from Attribute.) |
Show:
