“Throw”语句在“Catch”语句外或“Finally”语句内不能省略操作数
更新:2007 年 11 月
Catch 语句外的 Throw 语句必须提供异常对象的名称。
**错误 ID:**BC30666
更正此错误
为从 System.Exception 派生得到的某个异常对象指定名称。
重新组织代码,使 Throw 语句位于 Catch 块中。
请参见
概念
参考
Try...Catch...Finally 语句 (Visual Basic)
更新:2007 年 11 月
Catch 语句外的 Throw 语句必须提供异常对象的名称。
**错误 ID:**BC30666
为从 System.Exception 派生得到的某个异常对象指定名称。
重新组织代码,使 Throw 语句位于 Catch 块中。
Try...Catch...Finally 语句 (Visual Basic)