Udostępnij za pośrednictwem


RouteEndpointBuilder(RequestDelegate, RoutePattern, Int32) Konstruktor

Definicja

Tworzy nowe RouteEndpointBuilder wystąpienie.

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)

Parametry

requestDelegate
RequestDelegate

Delegat używany do przetwarzania żądań dla punktu końcowego.

routePattern
RoutePattern

Element RoutePattern do użycia w dopasowywaniu adresów URL.

order
Int32

Kolejność przypisana do punktu końcowego.

Dotyczy