Item.Delete() - "The item's properties and methods cannot be used inside this event procedure." RRS feed

  • Question

  • Because of changes made on the Outlook 2007 object model you cannot used some item methods and properties inside the event procedure. I wanted to delete appointment inside InspectorClass.InspectorEvents_Event_Close event handler.

    More details are here:

    Can you suggest me any workaround? I need to delete appointment when associated Inspector is closed if some conditions are accomplished.

    Friday, April 29, 2011 9:34 AM

All replies

  • I have created System.Threading.Timer with callback method, that performs appointment.Delete() method.
    Friday, April 29, 2011 12:20 PM