共用方式為


Host.CreateEmptyApplicationBuilder(HostApplicationBuilderSettings) 方法

定義

初始化 類別的新實例, HostApplicationBuilder 但未預先設定預設值。

public:
 static Microsoft::Extensions::Hosting::HostApplicationBuilder ^ CreateEmptyApplicationBuilder(Microsoft::Extensions::Hosting::HostApplicationBuilderSettings ^ settings);
public static Microsoft.Extensions.Hosting.HostApplicationBuilder CreateEmptyApplicationBuilder (Microsoft.Extensions.Hosting.HostApplicationBuilderSettings? settings);
static member CreateEmptyApplicationBuilder : Microsoft.Extensions.Hosting.HostApplicationBuilderSettings -> Microsoft.Extensions.Hosting.HostApplicationBuilder
Public Shared Function CreateEmptyApplicationBuilder (settings As HostApplicationBuilderSettings) As HostApplicationBuilder

參數

settings
HostApplicationBuilderSettings

控制建構 HostApplicationBuilder的初始組態和其他設定。

傳回

初始化的 HostApplicationBuilder

適用於