Diagram.UnhandledException Method
Verifies who should report an exception that is thrown from the base design surface.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Public Overridable Function UnhandledException ( _
ex As Exception _
) As Boolean
public virtual bool UnhandledException(
Exception ex
)
public:
virtual bool UnhandledException(
Exception^ ex
)
abstract UnhandledException :
ex:Exception -> bool
override UnhandledException :
ex:Exception -> bool
public function UnhandledException(
ex : Exception
) : boolean
Parameters
- ex
Type: System.Exception
The exception to check.
Return Value
Type: System.Boolean
true if you want the base design surface to report the exception; false if you want .NET Framework to manage the exception.
.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.