Прочетете на английски Редактиране

Споделяне чрез


ServiceDebugBehavior.HttpHelpPageUrl Property

Definition

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

C#
public Uri HttpHelpPageUrl { get; set; }
C#
[System.ComponentModel.TypeConverter(typeof(System.UriTypeConverter))]
public Uri HttpHelpPageUrl { get; set; }

Property Value

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.

Attributes

Remarks

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.

Applies to

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1