title: Unable to kill a worker thread in Silverlight
body: <p>I'm working on a multi-threaded Silverlight application.</p>
  
  <p>The application has two threads: Main/UI and a background working thread.</p>
  
  <p>The UI thread should be able to kill the background thread, like so:</p>
  
  <pre><code>private Thread executionThread;
  
  ....
  
  executionThread = new Thread(ExecuteStart);
  executionThread.Start();
  
  ....
  
  executionThread.Abort(); // when the user clicks "Stop"
  </code></pre>
  
  <p>The last line raises an Exception:</p>
  
  <blockquote>
    <p>MethodAccessException: Attempt to access the method failed: System.Threading.Thread.Abort()</p>
  </blockquote>
  
  <p>Any idea? why i cannot abort a thread in Silverlight?</p>
  
  <p>Thanks,
  Naimi</p>