質問編集履歴

1

情報の追記

2020/06/23 07:04

投稿

KIRAA
KIRAA

スコア1

test CHANGED
File without changes
test CHANGED
@@ -165,3 +165,29 @@
165
165
  VisualStudio2017
166
166
 
167
167
  MicrosoftSQLServer2017
168
+
169
+
170
+
171
+ ### 追記
172
+
173
+ 下記コードのthrow;でシステムが止まっています。
174
+
175
+ 「ハンドルされていない例外」
176
+
177
+ System.Data.SqlClient.SqlException: 'オブジェクト名 'Products' が無効です。'
178
+
179
+
180
+
181
+ ```C#
182
+
183
+ catch (Exception exception)
184
+
185
+ {
186
+
187
+ Console.WriteLine(exception.Message);
188
+
189
+ throw;
190
+
191
+ }
192
+
193
+ ```