共用方式為


RouteEndpointBuilder(RequestDelegate, RoutePattern, Int32) 建構函式

定義

建構新的 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)

參數

requestDelegate
RequestDelegate

用來處理端點要求的委派。

routePattern
RoutePattern

RoutePattern 用於 URL 比對的 。

order
Int32

指派給端點的順序。

適用於