共用方式為


ServiceHealthElement.HttpsGetEnabled 屬性

定義

取得或設定值,這個值控制服務是否在 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

屬性值

Boolean

true 若要在屬性指定的位址發佈健全狀況資訊 HttpsGetUrl ,則為,否則為 false

屬性

備註

HttpsGetEnabled屬性會對應至元素的屬性值 HttpsGetEnabled <serviceHealth> 。 如果設定檔中未定義此屬性,其預設值為 true 。 屬性會定義 ServiceHealthBehavior. HttpsGetEnabled 屬性的值。

適用於