RouterMiddleware.Invoke(HttpContext) 方法

定义

计算与 RouteContext 派生自 httpContext的 关联的处理程序。

public:
 System::Threading::Tasks::Task ^ Invoke(Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
public System.Threading.Tasks.Task Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext);
member this.Invoke : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
Public Function Invoke (httpContext As HttpContext) As Task

参数

httpContext
HttpContext

一个 HttpContext 实例。

返回

适用于