Compartir a través de


RouteHandler.GetRequestHandler(HttpContext, RouteData) Método

Definición

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

public:
 virtual 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
override this.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.

Implementaciones

Se aplica a