RouteHandler 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.
Supports implementing a handler that executes for a given route.
public ref class RouteHandler : Microsoft::AspNetCore::Routing::IRouteHandler, Microsoft::AspNetCore::Routing::IRouter
public class RouteHandler : Microsoft.AspNetCore.Routing.IRouteHandler, Microsoft.AspNetCore.Routing.IRouter
type RouteHandler = class
interface IRouteHandler
interface IRouter
Public Class RouteHandler
Implements IRouteHandler, IRouter
- Inheritance
-
RouteHandler
- Implements
Constructors
RouteHandler(RequestDelegate) |
Constructs a new RouteHandler instance. |
Methods
GetRequestHandler(HttpContext, RouteData) |
Gets a RequestDelegate to handle the request, based on the provided
|
GetVirtualPath(VirtualPathContext) |
Returns the URL that is associated with the route details provided in |
RouteAsync(RouteContext) |
Asynchronously routes based on the current |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for