this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (ThreadStart)delegate { //要执行的代码 }); 转载于:https://www.cnblogs.com/fengyie55/p/4394250.html