Ejemplo n.º 1
0
 private void DoWork(object sender, DoWorkEventArgs <object, object> eventArgs)
 {
     Assert.AreNotEqual(Thread.CurrentThread.ManagedThreadId, callingThreadId);
     backgroundWorker.ExecuteOnCallingThread <object>(Foo2, null);
 }