Compartir a través de


RunExtensions.Run(IApplicationBuilder, RequestDelegate) Método

Definición

Agrega un delegado de middleware de terminal a la canalización de solicitudes de la aplicación.

public:
[System::Runtime::CompilerServices::Extension]
 static void Run(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Http::RequestDelegate ^ handler);
public static void Run (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.RequestDelegate handler);
static member Run : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Http.RequestDelegate -> unit
<Extension()>
Public Sub Run (app As IApplicationBuilder, handler As RequestDelegate)

Parámetros

handler
RequestDelegate

Delegado que controla la solicitud.

Se aplica a