title: How to stop all executing threads of Parallel.ForEach?
body: <p>How can i break from the following Parallel.ForEach Loop Immediatly...</p>
  
  <pre><code>Parallel.ForEach(
                      webnode.ChildNodes.OfType&lt;XmlNode&gt;(),
                      (node,loopState) =&gt;
                          {
                              if(threadCommand!=null &amp;&amp;                   threadCommand.CurrentSubIndicator.StopSignaled)
                                  loopState.Stop();
  
                              string title = node.Attributes["Title"].Value;
                              string url = node.Attributes["Url"].Value;
                              if (!string.IsNullOrEmpty(specificItemUrl) &amp;&amp;
                                  (!url.Equals(specificItemUrl)))
                                  return;
                              Site partialSubSite = new WSS(site, Guid.Empty, title, url, "", null, null);
  
                              try
                              {
                                  GetSite(partialSubSite, lite, readNavigation);
                              }
                              catch (Exception ex)
                              {
                                  LogERError("Failed to fully read sub-site: {0}", url, ex);
                                  partialSubSite.Guid = Constants.BadItemId;
                              }
  
  
                          });
  </code></pre>
  
  <p>I want to exit all the threads to stop executing once i check the condition
  <code>if (threadCommand!=null &amp;&amp; threadCommand.CurrentSubIndicator.StopSignaled)</code> and found true. How can I do this?</p>