Export (0) Print
Expand All

ServiceMetadataBehavior.HttpsGetEnabled Property

Gets or sets a value that indicates whether to publish service metadata for retrieval using an HTTPS/GET request.

Namespace: System.ServiceModel.Description
Assembly: System.ServiceModel (in system.servicemodel.dll)

public bool HttpsGetEnabled { get; set; }
/** @property */
public boolean get_HttpsGetEnabled ()

/** @property */
public void set_HttpsGetEnabled (boolean value)

public function get HttpsGetEnabled () : boolean

public function set HttpsGetEnabled (value : boolean)

Not applicable.

Property Value

true if the WSDL is published; otherwise, false. The default is false.

If the value of HttpsGetUrl is relative, the address at which the metadata is published is the base address and the service address plus a ?wsdl querystring.

If the value of HttpsGetUrl is absolute the address at which the metadata is published is the value of HttpsGetUrl value plus a ?wsdl querystring.

For example, if the service address is https://localhost:8080/CalculatorService and the HttpsGetUrl is an empty string, the HTTPS/GET metadata address is https://localhost:8080/CalculatorService?wsdl.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft