Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道为什么我不能在我的 Silverlight 应用程序中调用 BeginInvoke / EndInvoke on Action 和 Func 代表?我不断收到 NotSupportedException。有解决方法吗?
为此使用调度程序。
Deployment.Current.Dispatcher.BeginInvoke 是您想要的方法:)。
它接受功能和动作