对 Outlook Addin 进行编程以自动关闭并重新加载
有没有办法让 Outlook 加载项在定义的时间/事件自动关闭并重新加载。我有一个 Outlook 插件,它依赖于许多外部服务,有时这些外部服务可能会断开连接等,但 Outlook 插件很难实现这一点。我希望编写一些代码来告诉加载项在一天中的某个时间自动重新启动(而不是全部 Outlook),只是为了确保所有外部连接都处于活动状态并且是最新的(如果这有意义的话...... )。
我已经用 C# 为 Outlook 2010 编写了插件。
谢谢
Is there a way to have an outlook add-in automatically close and reload at defined times / events. I have an outlook addin that depends on a number of external services, and sometimes those external services can disconnect etc, but the outlook add-in struggles to realize it. I was hoping to code something that would tell the add-in to automatically restart (and not all of outlook) at a certain time of day, just to make sure all the external connections are active and fresh (if that makes sense...).
I've coded the addin in C#, for Outlook 2010.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用下面的代码重新加载您的插件,也许将其投入使用或从任何事件触发它
you can use below code to reload your addin, maybe put this in service or trigger it from any event