RouteHandler.GetRequestHandler(HttpContext, RouteData) Método

Definição

Obtém um RequestDelegate para lidar com a solicitação, com base no fornecido 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

O HttpContext associado à solicitação atual.

routeData
RouteData

O RouteData associado à correspondência de roteamento atual.

Retornos

Um RequestDelegateou null se o manipulador não puder lidar com essa solicitação.

Implementações

Aplica-se a