RunExtensions.Run(IApplicationBuilder, RequestDelegate) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將終端機中介軟體委派新增至應用程式的要求管線。
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)
參數
IApplicationBuilder 執行個體。
- handler
- RequestDelegate
處理要求的委派。