title: How can we take minidump during exceptions
body: <p>I am working on a sub project(.NET) which deals with exceptions. Below is my requirement</p>
  
  <p>When an exception occurs, the exception assembly must capture</p>
  
  <ol>
  <li>CPU information </li>
  <li>Method which caused the issue </li>
  <li>Data which caused the issue</li>
  <li>Environment details (path and other information)</li>
  </ol>
  
  <p>In above all these, the toughest part would be getting the data which caused the issue. </p>
  
  <p>The data could be stored anywhere within the method body. it could be method parameters, local variables, objects etc. I believe there is no interface available in .Net which can expose the data in the memory at the time of exception. so I was thinking of taking mini dumps during the exception. Is it possible in .Net to create mini dumps.</p>
  
  <p>my software env is. .Net 3.5, WCF, Silverlight</p>
  
  <p>do pass me some links.</p>
  
  <p>thanks</p>