Compartilhar via


RoutingHttpContextExtensions.GetRouteData(HttpContext) Método

Definição

Obtém o RouteData associado ao httpContext fornecido.

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

O HttpContext associado à solicitação atual.

Retornos

O RouteData.

Aplica-se a