共用方式為


WebApplicationBuilder.Host 屬性

定義

IHostBuilder 用於設定主機特定屬性,但無法建置。 若要在組態之後建置,請呼叫 Build()

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

屬性值

適用於