HttpMethodMetadata 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.
Represents HTTP method metadata used during routing.
public ref class HttpMethodMetadata sealed : Microsoft::AspNetCore::Routing::IHttpMethodMetadatapublic sealed class HttpMethodMetadata : Microsoft.AspNetCore.Routing.IHttpMethodMetadatatype HttpMethodMetadata = class
    interface IHttpMethodMetadataPublic NotInheritable Class HttpMethodMetadata
Implements IHttpMethodMetadata- Inheritance
- 
				HttpMethodMetadata
- Implements
Constructors
| HttpMethodMetadata(IEnumerable<String>, Boolean) | Initializes a new instance of the HttpMethodMetadata class. | 
| HttpMethodMetadata(IEnumerable<String>) | Initializes a new instance of the HttpMethodMetadata class. | 
Properties
| AcceptCorsPreflight | Returns a value indicating whether the associated endpoint should accept CORS preflight requests. | 
| HttpMethods | Returns a read-only collection of HTTP methods used during routing. An empty collection means any HTTP method will be accepted. | 
Methods
| ToString() | Returns a string that represents the current object. |