Compartir a través de


RoutingHttpContextExtensions.GetRouteData(HttpContext) Método

Definición

Obtiene el objeto RouteData asociado con el objeto httpContext proporcionado.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::RouteData ^ GetRouteData(Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
public static Microsoft.AspNetCore.Routing.RouteData GetRouteData (this Microsoft.AspNetCore.Http.HttpContext httpContext);
static member GetRouteData : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Routing.RouteData
<Extension()>
Public Function GetRouteData (httpContext As HttpContext) As RouteData

Parámetros

httpContext
HttpContext

asociado HttpContext a la solicitud actual.

Devoluciones

RouteData.

Se aplica a