Outlook AppointmentItem Write Event - how many times does it execute
Posted
by marcincoles
on Stack Overflow
See other posts from Stack Overflow
or by marcincoles
Published on 2010-04-19T14:15:02Z
Indexed on
2010/04/20
14:53 UTC
Read the original article
Hit count: 142
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?
© Stack Overflow or respective owner