ResponseCachingMiddleware.Invoke(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

返回

Task 中间件完成处理时完成的 。

适用于