Sdílet prostřednictvím


ServiceHealthElement.HttpsGetEnabled Vlastnost

Definice

Získá nebo nastaví hodnotu, která určuje, zda služba publikuje informace o stavu na adrese určené HttpsGetUrl atributem.

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

Hodnota vlastnosti

Boolean

true k publikování informací o stavu na adrese určené HttpsGetUrl atributem, jinak false .

Atributy

Poznámky

Vlastnost HttpsGetEnabled odpovídá hodnotě HttpsGetEnabled atributu <serviceHealth> elementu. Pokud atribut není definován v konfiguračním souboru, jeho výchozí hodnota je true . Vlastnost definuje hodnotu vlastnosti ServiceHealthBehavior.HttpsGetEnabled.

Platí pro