title: Call delegate method with controls asynchronously in a C# WPF application
body: <p>I am developping a WPF application. 
  I have a couple of timers that work asynchronously and they are created with System.Threading.Timer objects.</p>
  
  <pre><code>new System.Threading.Timer(
                      new System.Threading.TimerCallback(Timer_Function),
                      null,
                      timing,
                      timing
                  );
  
  Timer_Function()
  {
    /*code that runs asynchronously */
  }
  </code></pre>
  
  <p>In order to update the controls that are in WPF view I use delegate methods called by Dispatcher.Invoke otherwise the compiler would raise InvalidOperationException (The calling thread cannot access this object because a different thread owns it.)</p>
  
  <p>My problem is that the delegate method do not run asynchronously and i have to do a lot of work in it so the application stops.</p>
  
  <p>What can i do to run delegate method asynchronously?</p>