RouteHandler(RequestDelegate) 构造函数

定义

构造新的 RouteHandler 实例。

public:
 RouteHandler(Microsoft::AspNetCore::Http::RequestDelegate ^ requestDelegate);
public RouteHandler (Microsoft.AspNetCore.Http.RequestDelegate requestDelegate);
new Microsoft.AspNetCore.Routing.RouteHandler : Microsoft.AspNetCore.Http.RequestDelegate -> Microsoft.AspNetCore.Routing.RouteHandler
Public Sub New (requestDelegate As RequestDelegate)

参数

requestDelegate
RequestDelegate

用于处理请求的委托。

适用于