Partager via


RunExtensions.Run(IApplicationBuilder, RequestDelegate) Méthode

Définition

Ajoute un délégué d’intergiciels de terminal au pipeline de requête de l’application.

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)

Paramètres

handler
RequestDelegate

Délégué qui gère la demande.

S’applique à