共用方式為


WebHostBuilder.Build 方法

定義

建置必要的服務和 IWebHost 裝載 Web 應用程式的 。

public:
 virtual Microsoft::AspNetCore::Hosting::IWebHost ^ Build();
public Microsoft.AspNetCore.Hosting.IWebHost Build ();
abstract member Build : unit -> Microsoft.AspNetCore.Hosting.IWebHost
override this.Build : unit -> Microsoft.AspNetCore.Hosting.IWebHost
Public Function Build () As IWebHost

傳回

實作

適用於