![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
In my add-in I have a method that unsubcribes from delete event
handler(it was previously subscribed to) in the begining and subscribes to it again at the end like: public void SynchronizeTasks(...) { tasksItems.ItemRemove -= OnTasksDelete; .... foreach (Outlook.TaskItem task in tasksItems) { task.Delete(); } .... tasksItems.ItemRemove += new Outlook.ItemsEvents_ItemRemoveEventHandler(OnTasks Delete); } However, for every task deleted in this method I catch an ItemRemove event in OnTasksDelete. Is there any way to completely unsubscribe from this event? Thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 and VSTO questions | Christie | Add-ins for Outlook | 0 | November 3rd 06 07:19 AM |
VSTO Item events add and remove ... | lg | Add-ins for Outlook | 0 | October 12th 06 03:01 PM |
Item open events and double click events in exchange client extension. | Fanxa | Add-ins for Outlook | 1 | August 9th 06 08:18 AM |
RemoteCalendars finally available with VSTO technology | [email protected] | Outlook - General Queries | 0 | April 4th 06 04:51 PM |
Handling calendar items in VSTO | jirina42 | Outlook - Calandaring | 1 | March 20th 06 08:47 PM |