当被System.Windows.Threading.Dispatcher.Invoke(System.Delegate,System.Object的[])加入?Threading、Windows、S

由网友(有你任性,没你认命)分享简介:使用我的应用程序,有些人似乎越来越Some people using my app seem to be getting System.MissingMethodException: Method not found: 'System.Object System.Windows.Threading.Dispatch...

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

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-类

阅读全文

相关推荐

最新文章