Author |
|
piccolo Newbie
Joined: 10 November 2008 Location: Italy
Online Status: Offline Posts: 5
|
Posted: 10 November 2008 at 2:38am | IP Logged
|
|
|
Hi, i´m trying to save the messages from an imap server. with 4000mails everything went fine, but if the mailserver contains more then 4000 messages i got an contextswitchdeadlock...
the code:
range = Imap.AllMessages
Dim msgs As MailMessageCollection
msgs = imp.DownloadEntireMessages(range, True)
i have to save the hole range of all messages..
any suggestions to avoide the contextswitchdeadlock ?
Thanks
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 10 November 2008 at 5:33am | IP Logged
|
|
|
This exception is usually thrown by Managed Debugging Assistant if a background thread wakes up and finds a remote call doesn't pass in 60 seconds. You may either disable ContextSwitchDeadlock exception in your project or turn it off for all applications.
Regards,
Igor
|
Back to Top |
|
|