Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ShouldReportException Method
Collapse the table of content
Expand the table of content

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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

public virtual bool ShouldReportException(
	Exception ex


Type: Exception

The exception to check.

Return Value

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

Critical exceptions are not reported with this method.

© 2015 Microsoft