Bagikan melalui


RunExtensions.Run(IApplicationBuilder, RequestDelegate) Metode

Definisi

Menambahkan delegasi middleware terminal ke alur permintaan aplikasi.

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

Delegasi yang menangani permintaan.

Berlaku untuk