Gets or sets a boolean value that determines if non-critical exceptions should be suppressed.
Indicates that non-critical chart exceptions will be suppressed.
Visual Basic (Declaration) | |
---|---|
Public Property SuppressExceptions As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool SuppressExceptions {get; set;} |
Return Value
True if non-critical exceptions should be suppressed, otherwise false. Defaults to false.
Setting this property to true will suppress non-critical exceptions.
When the Chart control cannot properly plot the chart with the data and other settings provided, the Chart control with throw an exception. Although exceptions are useful during the testing of the application they should not be shown when released.
NOTE: Setting this property to true may "hide" serious issues in the user application source code. This may also cause the a chart image to be generated that my misrepresent your data. It is highly recommended that this mode be only used in Release builds.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family