是否有一个BackgroundWorker替代的.NET Compact Framework 3.5的? [英] Is there a BackgroundWorker replacement for .NET Compact Framework 3.5?

查看:302
本文介绍了是否有一个BackgroundWorker替代的.NET Compact Framework 3.5的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用类似 BackgroundWorker的,这是从完整的.NET框架已知的,在移动设备上。遗憾的是它是不是在紧凑架构提供。

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.

我可以用什么代替呢?

推荐答案

有一个MSDN网站上讨论的后台处理的CF 的技术。

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

最常见的方法是使用 ThreadPool.QueueUserWorkItem而不是一个BackgroundWorker ,虽然也有其他的选择。

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

这篇关于是否有一个BackgroundWorker替代的.NET Compact Framework 3.5的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆