什么时候添加了System.Windows.Threading.Dispatcher.Invoke(System.Delegate,System.Object [])?

Sam*_*ron 2 .net c# wpf

有些人使用我的应用程序似乎正在获得

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

有谁知道在这个版本的框架中添加了这个重载,是否可以安全使用?(未标记为已弃用).

Jeh*_*hof 6

以下方法在3.5 SP1上添加到Dispatcher类

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