Compartir a través de


IRouteHandler.GetRequestHandler(HttpContext, RouteData) Método

Definición

Obtiene un RequestDelegate objeto para controlar la solicitud, en función del objeto proporcionado routeData.

public:
 Microsoft::AspNetCore::Http::RequestDelegate ^ GetRequestHandler(Microsoft::AspNetCore::Http::HttpContext ^ httpContext, Microsoft::AspNetCore::Routing::RouteData ^ routeData);
public Microsoft.AspNetCore.Http.RequestDelegate GetRequestHandler (Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteData routeData);
abstract member GetRequestHandler : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Routing.RouteData -> Microsoft.AspNetCore.Http.RequestDelegate
Public Function GetRequestHandler (httpContext As HttpContext, routeData As RouteData) As RequestDelegate

Parámetros

httpContext
HttpContext

asociado HttpContext a la solicitud actual.

routeData
RouteData

RouteData Asociado a la coincidencia de enrutamiento actual.

Devoluciones

null o RequestDelegatesi el controlador no puede controlar esta solicitud.

Se aplica a