Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Overridable Function ShouldReportException ( _
ex As Exception _
) As Boolean
public virtual bool ShouldReportException(
Exception ex
)
public:
virtual bool ShouldReportException(
Exception^ ex
)
abstract ShouldReportException :
ex:Exception -> bool
override ShouldReportException :
ex:Exception -> bool
public function ShouldReportException(
ex : Exception
) : boolean
Parameters
- ex
Type: System.Exception
The exception to check.
Return Value
Type: System.Boolean
true if the exception should be reported; otherwise, false.
Remarks
Critical exceptions are not reported with this method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.