ServiceHealthElement.HttpsGetEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that controls whether the service publishes its health information at the address specified by the HttpsGetUrl
attribute.
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
Property Value
true
to publish health information at the address specified by the HttpsGetUrl
attribute; otherwise, false
.
- Attributes
Remarks
The HttpsGetEnabled
property corresponds to the value of the HttpsGetEnabled
attribute of a <serviceHealth>
element. If the attribute is not defined in a configuration file, its default value is true
. The property defines the value of the ServiceHealthBehavior.HttpsGetEnabled property.