共用方式為


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 目前要求相關聯的 。

適用於