Diagram.ShouldReportException(Exception) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when a transaction created by the core design surface throws an exception. Derived classes can override this method to customise whether the error is reported if it is being swallowed. Note that critical exceptions will be thrown upwards and won't be reported - so there is no additional check required.
public:
virtual bool ShouldReportException(Exception ^ ex);
public virtual bool ShouldReportException (Exception ex);
abstract member ShouldReportException : Exception -> bool
override this.ShouldReportException : Exception -> bool
Public Overridable Function ShouldReportException (ex As Exception) As Boolean
Parameters
- ex
- Exception
An exception thrown durign a core design surface transaction.
Returns
True if the error should be reported