共用方式為


IHostingStartup.Configure(IWebHostBuilder) 方法

定義

設定 IWebHostBuilder

public:
 void Configure(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ builder);
public void Configure (Microsoft.AspNetCore.Hosting.IWebHostBuilder builder);
abstract member Configure : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> unit
Public Sub Configure (builder As IWebHostBuilder)

參數

builder
IWebHostBuilder

備註

設定是要在使用者程式碼之前呼叫,讓使用者覆寫所做的任何變更。

適用於