HttpMethodRouteConstraint Class   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constrains the HTTP method of request or a route.
public ref class HttpMethodRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraintpublic class HttpMethodRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstrainttype HttpMethodRouteConstraint = class
    interface IRouteConstrainttype HttpMethodRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicytype HttpMethodRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraintPublic Class HttpMethodRouteConstraint
Implements IRouteConstraint- Inheritance
- 
				HttpMethodRouteConstraint
- Implements
Constructors
| HttpMethodRouteConstraint(String[]) | Creates a new instance of HttpMethodRouteConstraint that accepts the HTTP methods specified
by  | 
Properties
| AllowedMethods | Gets the HTTP methods allowed by the constraint. | 
Methods
| Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection) | Determines whether the URL parameter contains a valid value for this constraint. |