Share via


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

Syntax

'Declaration
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

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

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace