ServiceHealthElement.HttpsGetEnabled Właściwość

Definicja

Pobiera lub ustawia wartość, która kontroluje, czy usługa publikuje informacje o kondycji pod adresem określonym przez HttpsGetUrl atrybut.

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

Wartość właściwości

true aby opublikować informacje o kondycji pod adresem określonym przez HttpsGetUrl atrybut; w przeciwnym razie false.

Atrybuty

Uwagi

Właściwość HttpsGetEnabled odpowiada wartości HttpsGetEnabled atrybutu <serviceHealth> elementu. Jeśli atrybut nie jest zdefiniowany w pliku konfiguracji, jego wartością domyślną jest true. Właściwość definiuje wartość właściwości ServiceHealthBehavior.HttpsGetEnabled .

Dotyczy