Compartir a través de


IMiddleware.InvokeAsync(HttpContext, RequestDelegate) Método

Definición

Método de control de solicitudes.

public:
 System::Threading::Tasks::Task ^ InvokeAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Http::RequestDelegate ^ next);
public System.Threading.Tasks.Task InvokeAsync (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.RequestDelegate next);
abstract member InvokeAsync : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Http.RequestDelegate -> System.Threading.Tasks.Task
Public Function InvokeAsync (context As HttpContext, next As RequestDelegate) As Task

Parámetros

context
HttpContext

Objeto HttpContext de la solicitud actual.

next
RequestDelegate

Delegado que representa el middleware restante en la canalización de solicitudes.

Devoluciones

que Task representa la ejecución de este middleware.

Se aplica a