RouteContext(HttpContext) 构造函数

定义

为提供的 httpContext创建 的新实例RouteContext

public:
 RouteContext(Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
public RouteContext (Microsoft.AspNetCore.Http.HttpContext httpContext);
new Microsoft.AspNetCore.Routing.RouteContext : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Routing.RouteContext
Public Sub New (httpContext As HttpContext)

参数

httpContext
HttpContext

HttpContext与当前请求关联的 。

适用于