Partager via


ResponseCachingMiddleware.Invoke(HttpContext) Méthode

Définition

Appelle la logique du 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

Paramètres

httpContext
HttpContext

L’HttpContextopérateur

Retours

Task qui se termine lorsque le middleware a terminé le traitement.

S’applique à