Any event for disabling Outlook Plugin?

Category: outlook for developers

Question

Michael OC on Fri, 15 Feb 2019 19:49:38


Hi, Guys:

I am working on building a C# VSTO Outlook plugin and need your inputs for one feature request. 

In case that our plugin is disabled, we want to do a data cleaning up work. Is there any event that the plugin can listen to when it is disabled? We want the plugin to subscribe to this event so that it knows it will be disabled and then do some work before it is disabled actually.

Is that possible?

Thanks,

Michael

Replies

Dmitry Streblechenko _MVP_ on Sat, 16 Feb 2019 01:53:06


No, there is nothing like that. Think about it - every bad addin would then use that event to re-enable itself.

Michael OC on Mon, 18 Feb 2019 16:38:48


Hi, Dmitry:

Thanks for confirming that.

Michael