Bagikan melalui


RouteEndpointBuilder(RequestDelegate, RoutePattern, Int32) Konstruktor

Definisi

Membuat instans baru RouteEndpointBuilder .

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

Delegasi yang digunakan untuk memproses permintaan untuk titik akhir.

routePattern
RoutePattern

yang RoutePattern digunakan dalam pencocokan URL.

order
Int32

Urutan yang ditetapkan ke titik akhir.

Berlaku untuk