Outlook AppointmentItem Write Event - how many times does it execute
- by marcincoles
I need to perform some activity when an appointmentitem (or specifically a meeting) is saved.
What I want is once the user has filled in the info and clicks 'send', Outlook does it's stuff and my code executes once.
However what I'm finding, is that the Write event occurs multiple times - at least twice, sometimes more (eg in updates).
Where this is an issue for me, is that I have an object that needs to be updated before it's serialized, and I don't want to be doing the update and serialization multiple times.
Has anyone come across this issue, before and is there a better way to do this to use than appointmentitem.write?