Freigeben über


RunExtensions.Run(IApplicationBuilder, RequestDelegate) Methode

Definition

Fügt der Anforderungspipeline der Anwendung einen Terminalmiddlewaredelegat hinzu.

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)

Parameter

handler
RequestDelegate

Ein Delegat, der die Anforderung verarbeitet.

Gilt für: