J
Jeff
I'm getting a
"Member not found. (Exception from HRESULT: 0x80020003
(DISP_E_MEMBERNOTFOUND))"
error when I try to get a particular occurrence of a recurring task.
The MSDN documentation implies that you can get an particular
occurrence of an appointment or task using the following technique
(expressed here is pseudocode):
Item recurringItem = NameSpace.GetItemFromId(entryId,storeId);
RecurrencePattern pattern = recurringItem.GetRecurrencePattern();
Item occurrence = pattern.GetOccurrence(date);
That approach works correctly w/ recurring appointments,
however, .GetOccurrence() fails when the item is a task.
I'm sure that there is a recurring task on 'date', b/c I can see the
task in Outlook. I'm aware of the fact that GetOccurrence() will throw
an exception if there is no occurrence on that date; that's not the
issue I'm having.
Thanks in advance.
jb
"Member not found. (Exception from HRESULT: 0x80020003
(DISP_E_MEMBERNOTFOUND))"
error when I try to get a particular occurrence of a recurring task.
The MSDN documentation implies that you can get an particular
occurrence of an appointment or task using the following technique
(expressed here is pseudocode):
Item recurringItem = NameSpace.GetItemFromId(entryId,storeId);
RecurrencePattern pattern = recurringItem.GetRecurrencePattern();
Item occurrence = pattern.GetOccurrence(date);
That approach works correctly w/ recurring appointments,
however, .GetOccurrence() fails when the item is a task.
I'm sure that there is a recurring task on 'date', b/c I can see the
task in Outlook. I'm aware of the fact that GetOccurrence() will throw
an exception if there is no occurrence on that date; that's not the
issue I'm having.
Thanks in advance.
jb