ServiceHealthElement.HttpsGetEnabled 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,這個值控制服務是否在 HttpsGetUrl
屬性指定的位址發佈其健全狀況資訊。
public:
property bool HttpsGetEnabled { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("httpsGetEnabled", DefaultValue=true)]
public bool HttpsGetEnabled { get; set; }
[<System.Configuration.ConfigurationProperty("httpsGetEnabled", DefaultValue=true)>]
member this.HttpsGetEnabled : bool with get, set
Public Property HttpsGetEnabled As Boolean
屬性值
true
若要在屬性指定的位址發佈健全狀況資訊 HttpsGetUrl
,則為,否則為 false
。
- 屬性
備註
HttpsGetEnabled
屬性會對應至元素的屬性值 HttpsGetEnabled
<serviceHealth>
。 如果設定檔中未定義此屬性,其預設值為 true
。 屬性會定義 ServiceHealthBehavior. HttpsGetEnabled 屬性的值。