Action action = new Action(() =>
{
this.Dispatcher.BeginInvoke(new Action(() =>
{
}), System.Windows.Threading.DispatcherPriority.SystemIdle, null);
});
action.BeginInvoke(null, null);
{
this.Dispatcher.BeginInvoke(new Action(() =>
{
}), System.Windows.Threading.DispatcherPriority.SystemIdle, null);
});
action.BeginInvoke(null, null);