Dela via


ResponseCachingMiddleware.Invoke(HttpContext) Method

Definition

Invokes the logic of the middleware.

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

Parameters

httpContext
HttpContext

The HttpContext.

Returns

A Task that completes when the middleware has completed processing.

Applies to