Name
WarningException
Synopsis
This implements an exception that should be treated as a warning
rather than an error. You can specify a HelpTopic
and HelpUrl
(the URI of the help file associated
with the problem).
public class WarningException : SystemException { // Public Constructors public WarningException(string message); public WarningException(string message, string helpUrl); public WarningException(string message, string helpUrl, string helpTopic); // Public Instance Properties public string HelpTopic{get; } public string HelpUrl{get; } }
Hierarchy
System.Object
→ System.Exception(System.Runtime.Serialization.ISerializable) → System.SystemException → WarningException
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.