我宣佈幾WithEvent handlerr像 Private WithEvents mErrorList As ErrorList Private WithEvents mControlManager As ControlManager 我用這個處理程序訂閱類中的事件,如 Private Sub mControlManager_PageLoaded(sender As Object, e As
我想知道是否有可能捕獲在成員析構函數中拋出的異常。例如: #include <exception>
class A
{
public:
~A() {
throw std::exception("I give up!");
}
};
class B
{
A _a;
public:
~B() {
// How to ca