16,555
社区成员
发帖
与我相关
我的任务
分享
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
'Dim aaa As Boolean = True
Try
'aaa = False
Throw New ArgumentException("Exception Occured")
Catch ex As Exception
'ModelState.AddModelError("", "错误")
MsgBox(ex.Message)
End Try
End Sub
End Class