回答編集履歴

3

誤字修正

2019/02/26 06:17

投稿

BluOxy
BluOxy

スコア2663

test CHANGED
@@ -66,7 +66,7 @@
66
66
 
67
67
 
68
68
 
69
- `App.xaml`に`Startu`pのイベントハンドラを登録します
69
+ `App.xaml`に`Startup`のイベントハンドラを登録します
70
70
 
71
71
  ```xaml
72
72
 

2

画像の追加

2019/02/26 06:17

投稿

BluOxy
BluOxy

スコア2663

test CHANGED
@@ -98,6 +98,14 @@
98
98
 
99
99
 
100
100
 
101
+ これでボタンを押せばUnhandledExceptionが発生して、例外集約ハンドラにてキャッチされ、メッセージボックスが表示されるようになります。
102
+
103
+
104
+
105
+ ![UnhandledExceptionをキャッチ](094142891b2dafe5135580fffbca311f.png)
106
+
107
+
108
+
101
109
  参考:
102
110
 
103
111
  [http://csfun.blog49.fc2.com/blog-entry-69.html](http://csfun.blog49.fc2.com/blog-entry-69.html)

1

参考URL追加

2019/02/26 06:12

投稿

BluOxy
BluOxy

スコア2663

test CHANGED
@@ -95,3 +95,11 @@
95
95
  ```
96
96
 
97
97
  `Startup="Application_Startup"`を追加しただけです。
98
+
99
+
100
+
101
+ 参考:
102
+
103
+ [http://csfun.blog49.fc2.com/blog-entry-69.html](http://csfun.blog49.fc2.com/blog-entry-69.html)
104
+
105
+ [http://gushwell.ldblog.jp/archives/52342719.html](http://gushwell.ldblog.jp/archives/52342719.html)