Задайте вопросЗадайте вопрос
 

ОтвеченоQuestion re: ActiveSync "Sync" command and status 3 error...

  • 30 июня 2009 г. 0:36BHAssoc Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    Here's what I'm doing:

    1) Send a Sync command for Inbox with syncKey = 0 (first sync)
    2) Receive syncKey = 1 (as expected)
    3) Send Sync command with syncKey = 1
    4) Receive new syncKey = 2 (as expected) and start processing Emails.

    Now, I interrupt my executing code at this point - i.e. before I finish with the first window of Emails (say, simulating a connection error).   When I try to sync next, I basically go back to #2, sending syncKey = 1 (which is the last one I've gotten successfully, i.e. I never finished receiving the result from the first window full of data).    The result is a status of 3, which indicates that I have to throw away any data I've received and start over with step 1.

    Is this correct?   If so, it would seem that a connection error after having received thousands of messages would cause me to have to get them all over again.   Or am I missing something?

    Any help would be greatly appreciated.

    -BHAssoc

Ответы

Все ответы