当被System.Windows.Threading.Dispatcher.Invoke(System.Delegate,System.Object的[])加入? [英] When was System.Windows.Threading.Dispatcher.Invoke(System.Delegate, System.Object[]) added?

查看:107
本文介绍了当被System.Windows.Threading.Dispatcher.Invoke(System.Delegate,System.Object的[])加入?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用我的应用程序,有些人似乎越来越

Some people using my app seem to be getting


System.MissingMethodException: Method not found: 
'System.Object System.Windows.Threading.Dispatcher.Invoke
    (System.Delegate, System.Object[])'

有谁知道在什么版本的超负荷加入框架,是可以安全使用?(它没有标明德precated)。

Does anyone know in what version of the framework this overload was added, is it safe to use?(its not marked deprecated).

推荐答案

下面的方法添加对3.5 SP1的Dispatcher类

The following Methods were added on 3.5 SP1 to the Dispatcher class


BeginInvoke(Delegate, array[]()[]), 
BeginInvoke(Delegate, DispatcherPriority, array[]()[]), 
Invoke(Delegate, array[]()[]), 
Invoke(Delegate, TimeSpan, array[]()[]), 
Invoke(Delegate, TimeSpan, DispatcherPriority, array[]()[]), 
Invoke(Delegate, DispatcherPriority, array[]()[])

看看下面的链接: MSDN,Dispatcher-类

这篇关于当被System.Windows.Threading.Dispatcher.Invoke(System.Delegate,System.Object的[])加入?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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