error CS1660: 无法将 匿名方法 转换为类型“System.Windows.Threading.DispatcherPriority”,

2025-05-01 08:18:32
推荐回答(1个)
回答1:

用Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Background,new Action(()=>{ }));