WPF 实现异步调用

在WPF中,实现异步调用的代码以下:异步 System.Windows.Threading.Dispatcher.Invoke( new Action(()=> { CallMethodName(); //要异步调用的方法或异步执行的语句 }), System.Windows.Threading.DispatcherPriority.Background);
相关文章
相关标签/搜索