Compartilhar via


RunExtensions.Run(IApplicationBuilder, RequestDelegate) Método

Definição

Adiciona um delegado de middleware de terminal ao pipeline de solicitação do aplicativo.

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

Um delegado que manipula a solicitação.

Aplica-se a