Dela via


RouteContext(HttpContext) Constructor

Definition

Creates a new instance of RouteContext for the provided 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)

Parameters

httpContext
HttpContext

The HttpContext associated with the current request.

Applies to