#886 – Setting the HelpLink Property when You Throw an Exception

You can use the HelpLink property of an Exception object to point to a web page that might have information that is relevant to the exception that you are throwing. Exception handling code could then use the property to navigate to a web page.

In the code below, we throw an exception if the caller asks a Dog to bark too many times.