WebHostBuilderOptions.SuppressEnvironmentConfiguration 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指出是否應該將 「ASPNETCORE_」 前置環境變數新增至組態。 預設會新增它們。
public bool SuppressEnvironmentConfiguration { get; set; }
member this.SuppressEnvironmentConfiguration : bool with get, set
Public Property SuppressEnvironmentConfiguration As Boolean