N
Nathan
I have a loop that requests blocks of data through a web service, and
inserts each in turn into a SQL Server CE database.
It sounds like a good candidate for asynchronous web service calls.
So I would call Begin with a call back. When the callback is called, insert
result into the database.
However, the user could decide to quit and download no further data. This
doesn't sound safe as there are still threads running. If the form is
closed, the callback could no longer be valid. Worse yet, as we know about
the Pocket PC platform, those threads could keep running if the program is
closed. (No thread.abort available.)
Any suggestions?
Nathan
inserts each in turn into a SQL Server CE database.
It sounds like a good candidate for asynchronous web service calls.
So I would call Begin with a call back. When the callback is called, insert
result into the database.
However, the user could decide to quit and download no further data. This
doesn't sound safe as there are still threads running. If the form is
closed, the callback could no longer be valid. Worse yet, as we know about
the Pocket PC platform, those threads could keep running if the program is
closed. (No thread.abort available.)
Any suggestions?
Nathan