Is there a BackgroundWorker replacement for .NET Compact Framework 3.5?

anna picture anna · Aug 24, 2009 · Viewed 12.2k times · Source

I want to use something similar to the BackgroundWorker, which is known from the full .NET Framework, on mobile devices. Sadly it is not available in the compact framework.

What can I use instead?

Answer

Reed Copsey picture Reed Copsey · Aug 24, 2009

There is an MSDN site discussing the Background Processing Techniques on the CF.

The most common option is to use ThreadPool.QueueUserWorkItem instead of a BackgroundWorker, although there are other options.