IRouteHandler.GetRequestHandler(HttpContext, RouteData) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
RequestDelegate取得 ,以根據提供的 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
參數
- httpContext
- HttpContext
與 HttpContext 目前要求相關聯的 。
傳回
, RequestDelegate 如果處理常式無法處理此要求,則 null
為 。