共用方式為


RouterMiddleware.Invoke(HttpContext) 方法

定義

評估與衍生自 httpContext 相關聯的 RouteContext 處理常式。

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 執行個體。

傳回

適用於