WebApplicationBuilder.Host 属性

定义

IHostBuilder用于配置宿主特定属性但不生成的。 若要在配置后生成,请调用 Build()

public Microsoft.AspNetCore.Builder.ConfigureHostBuilder Host { get; }
member this.Host : Microsoft.AspNetCore.Builder.ConfigureHostBuilder
Public ReadOnly Property Host As ConfigureHostBuilder

属性值

ConfigureHostBuilder

适用于