ServiceDebugBehavior.HttpHelpPageUrl Property

 

Gets or sets the location at which the HTML help file is published.

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

[TypeConverterAttribute(typeof(UriTypeConverter))]
public Uri HttpHelpPageUrl { get; set; }

Property Value

Type: System.Uri

The relative or absolute HTTP-based URL of the custom HTML help file that the user sees when the endpoint is viewed using an HTML browser.

Use the HttpHelpPageUrl property to enable the use of a custom HTML help file that is returned from an HTTP/Get request such as that of an HTML browser. The location of the HTML help file is resolved as follows:

  • If the value of this property is a relative address, then the location of the HTML help file is the value of the service base address that supports HTTP requests plus this property value.

  • If the value of this property is an absolute address and supports HTTP requests, then the location of the HTML help file is the value of this property.

  • If the value of this property is absolute but does not support HTTP requests, an exception is thrown.

This property is applied only in the case that the HttpHelpPageEnabled property is true.

.NET Framework
Available since 3.0
Return to top
Show: