WebApplicationBuilder.Host 属性

定义

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

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

属性值

适用于