Freigeben über


RouteEndpointBuilder(RequestDelegate, RoutePattern, Int32) Konstruktor

Definition

Erstellt eine neue RouteEndpointBuilder-Instanz.

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)

Parameter

requestDelegate
RequestDelegate

Der Delegat, der zum Verarbeiten von Anforderungen für den Endpunkt verwendet wird.

routePattern
RoutePattern

Die RoutePattern , die beim URL-Abgleich verwendet werden soll.

order
Int32

Die dem Endpunkt zugewiesene Reihenfolge.

Gilt für: