title: Async method to return true or false in a Task
body: <p>I know that an <code>async</code> method can only return <code>void</code> or <code>Task</code>. I have read similar methods for Exception handling inside <code>async</code> methods. And I'm new to <code>async</code> programming so I am looking for a straightforward solution.</p>
  
  <p>My <code>async</code> method runs an Sql query. If the query was ok, it should notify the caller with a Boolean <code>true</code> and otherwise a <code>false</code>. My method is currently a void so I have no way of knowing.</p>
  
  <pre><code>private async void RefreshContacts()
  {
      Task refresh = Task.Run(() =&gt;
      {
          try
          {
              // run the query
          }
          catch { }
      }
      );
      await refresh;           
  }
  </code></pre>
  
  <p>I simply would like to change <code>async</code> to <code>Task</code> so that in my <code>catch</code> statement the method will return a <code>false</code> and otherwise a <code>true</code>.</p>