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。