Edit

Bagikan melalui


ServiceHealthElement.HttpsGetEnabled Property

Definition

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.

Applies to