Host.CreateEmptyApplicationBuilder(HostApplicationBuilderSettings) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 類別的新實例, 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。