title: Parameters to Catch?
body: <p>Is it possible to pass parameters to a catch block?
  Here is some example code:</p>
  
  <pre><code>try 
  {           
      myTextBox.Text = "Imagine, that could fail";
  }
  catch (Exception e)
  {
      MessageBox.Show(e.Message); 
  }
  </code></pre>
  
  <p>Can I pass the Textbox (<strong>myTextBox</strong>) now to my catch block if it would fail? smth. like that:</p>
  
  <pre><code>try 
  {           
      myTextBox.Text = "Imagine, that could fail";
  }
  catch (Exception e, TextBox textBox)
  {
      textBox.BorderBrush = Colors.Red;
      MessageBox.Show(e.Message); 
  }
  </code></pre>
  
  <p>How I would do that?</p>