Bagikan melalui


RouteContext(HttpContext) Konstruktor

Definisi

Membuat instans RouteContext baru untuk yang disediakan httpContext.

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)

Parameter

httpContext
HttpContext

Yang HttpContext terkait dengan permintaan saat ini.

Berlaku untuk