title: How to check exception of a member variable of an object?
body: <p>Are there any ways to check the exception of a member variable of an object or not? </p>
  
  <p>For example, I have a Recipient object, called rcp. AddressEntry is a member of this object. I want to check the exception of the member before using AddressEntry.</p>
  
  <p>I want to code a method to check the member variable, but I have no ideas. Do not use try-catch</p>
  
  <pre><code>private voice GetEmail(Outlook.NameSpace otl, string email){ 
      //...
      Recipient rcp = otl.CreateRecipient(email);
      if (rcp != null &amp;&amp; CheckException(rcp))
      {
        //do my code
      }
      //...
  }
  
  private bool CheckException(Recipient rcp)
  {
      //if AddressEntry of rcp object does not threw exception, return true            
  
      return false;
  }
  </code></pre>
  
  <p>Could you give me advises or suggestions about this!</p>
  
  <p><img src="https://i.stack.imgur.com/K7y4a.png" alt="enter image description here"></p>