Udostępnij za pośrednictwem


ServiceMetadataPublishingElement.HttpsGetEnabled Właściwość

Definicja

Pobiera lub ustawia wartość wskazującą, czy opublikować metadane usługi na potrzeby pobierania przy użyciu żądania HTTPS/Get.

public:
 property bool HttpsGetEnabled { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("httpsGetEnabled", DefaultValue=false)]
public bool HttpsGetEnabled { get; set; }
[<System.Configuration.ConfigurationProperty("httpsGetEnabled", DefaultValue=false)>]
member this.HttpsGetEnabled : bool with get, set
Public Property HttpsGetEnabled As Boolean

Wartość właściwości

true jeśli metadane usługi są publikowane do pobierania przy użyciu żądania HTTP/Get; w przeciwnym razie, false. Wartość domyślna to false.

Atrybuty

Uwagi

HttpsGetUrl Jeśli właściwość nie jest określona, adres, pod którym są publikowane metadane, to adres usługi plus "?wsdl". Jeśli na przykład adres usługi to https://localhost:8080/CalculatorService, adresem metadanych HTTP/Get jest https://localhost:8080/CalculatorService?wsdl.

Jeśli ta właściwość to false, lub adres usługi nie jest oparty na protokole HTTP lub HTTPS, ciąg "?wsdl" jest ignorowany.

Dotyczy