事件:Outlook 关闭前

Event: Before Outlook close

我想知道是否可以取消 Outlook 的关闭事件。 我使用这个事件:

  ((Outlook.ApplicationEvents_11_Event)Application).Quit += new Outlook.ApplicationEvents_11_QuitEventHandler(ThisAddIn_Quit);

不过这也太late.Outlook这里已经关门了。我想问问用户他是否真的确定要关闭 Outlook。是否有可能取消 Outlook 关闭事件? 谢谢

没有。 Outlook 互操作中没有 BeforeClose 类事件。