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

分配给终结点的顺序。

适用于