Exception.HelpLink Property

July 28, 2014

Gets or sets a link to the help file associated with this exception.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public virtual string HelpLink { get; set; }

Property Value

Type: System.String
The Uniform Resource Name (URN) or Uniform Resource Locator (URL).

The return value, which represents a help file, is a URN or URL. For example, the HelpLink value could be:

"file:///C:/Applications/Bazzal/help.html#ErrorNum42"

The following code example throws an Exception that sets the HelpLink property in its constructor and then catches the exception and displays HelpLink.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft