Condividi tramite


RouteEndpointBuilder(RequestDelegate, RoutePattern, Int32) Costruttore

Definizione

Costruisce una nuova istanza di 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)

Parametri

requestDelegate
RequestDelegate

Delegato usato per elaborare le richieste per l'endpoint.

routePattern
RoutePattern

Oggetto da usare nella corrispondenza dell'URL RoutePattern .

order
Int32

Ordine assegnato all'endpoint.

Si applica a