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

返回

实现

适用于