This topic has not yet been rated - Rate this topic

Diagram.ShouldReportException Method

Verifies whether an exception that is thrown from the base design surface should be reported.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual bool ShouldReportException(
	Exception ex
)

Parameters

ex
Type: System.Exception
The exception to check.

Return Value

Type: System.Boolean
true if the exception should be reported; otherwise, false.

Critical exceptions are not reported with this method.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ