//File:Window.xaml.vb
Imports System
Imports System.Windows
Imports System.ComponentModel
Namespace WpfApplication1
Public Partial Class Window1
Inherits Window
Public Sub New()
InitializeComponent()
End Sub
Private Sub btnThrowHandledException_Click(sender As Object, e As RoutedEventArgs)
Try
Throw New NotImplementedException()
Catch ex As NotImplementedException
MessageBox.Show(ex.Message)
End Try
End Sub
End Class
End Namespace