Export (0) Print
Expand All

ServiceDebugElement.HttpHelpPageEnabled Property

Gets or sets a value that indicates whether Windows Communication Foundation (WCF) publishes an HTML help page at the address specified by the HttpHelpPageUrl property.

Namespace:  System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("httpHelpPageEnabled", DefaultValue = true)]
public bool HttpHelpPageEnabled { get; set; }

Property Value

Type: System.Boolean
true if WCF publishes an HTML help page; otherwise, false. The default is true.

You can set this property to false to disable the publication of an HTML help page visible to HTML browsers.

To ensure the HTML help page is published at the location controlled by the HttpHelpPageUrl property, you must set this property to true. In addition, one of the following conditions must also be met:

  • The HttpHelpPageUrl property is an absolute address that supports the HTTP protocol scheme.

  • There is a base address for the service that supports the HTTP protocol scheme.

Although an exception is thrown if an absolute address that does not support the HTTP protocol scheme is assigned to the HttpHelpPageUrl property, any other scenario in which neither of the preceding criteria is met results in no exception and no HTML help page.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft