Share via


RouteEndpointBuilder(RequestDelegate, RoutePattern, Int32) Constructor

Definition

Constructs a new RouteEndpointBuilder instance.

public:
 RouteEndpointBuilder(Microsoft::AspNetCore::Http::RequestDelegate ^ requestDelegate, Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ routePattern, int order);
public RouteEndpointBuilder (Microsoft.AspNetCore.Http.RequestDelegate requestDelegate, Microsoft.AspNetCore.Routing.Patterns.RoutePattern routePattern, int order);
public RouteEndpointBuilder (Microsoft.AspNetCore.Http.RequestDelegate? requestDelegate, Microsoft.AspNetCore.Routing.Patterns.RoutePattern routePattern, int order);
new Microsoft.AspNetCore.Routing.RouteEndpointBuilder : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Routing.Patterns.RoutePattern * int -> Microsoft.AspNetCore.Routing.RouteEndpointBuilder
Public Sub New (requestDelegate As RequestDelegate, routePattern As RoutePattern, order As Integer)

Parameters

requestDelegate
RequestDelegate

The delegate used to process requests for the endpoint.

routePattern
RoutePattern

The RoutePattern to use in URL matching.

order
Int32

The order assigned to the endpoint.

Applies to