Diagram::ShouldReportException Method (Exception^)

 

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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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.

Return to top
Show: