This documentation is archived and is not being maintained.
HttpMethodConstraint Members
Visual Studio 2008
Enables you to define which HTTP verbs are allowed when ASP.NET routing determines whether a URL matches a route.
The HttpMethodConstraint type exposes the following members.
| Name | Description | |
|---|---|---|
|
HttpMethodConstraint | Initializes a new instance of the HttpMethodConstraint class by using the HTTP verbs that are allowed for the route. |
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
Match | Determines whether the request was made with an HTTP verb that is one of the allowed verbs for the route. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show: