Partager via


RouteEndpointBuilder(RequestDelegate, RoutePattern, Int32) Constructeur

Définition

Construit une nouvelle instance de 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)

Paramètres

requestDelegate
RequestDelegate

Délégué utilisé pour traiter les demandes pour le point de terminaison.

routePattern
RoutePattern

à utiliser dans la RoutePattern correspondance d’URL.

order
Int32

Ordre attribué au point de terminaison.

S’applique à