WebApplicationBuilder.WebHost 屬性

定義

IWebHostBuilder 用於設定伺服器特定屬性,但無法建置。 若要在組態之後建置,請呼叫 Build()

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

屬性值

ConfigureWebHostBuilder

適用於