title: Error: The operation was canceled
body: <p>I'm using this code snippet to do an async query with a cancellation token:</p>
  
  <pre><code>var _client = new HttpClient( /* some setthngs */ );
  
  _client.GetAsync(someUrl, cancellationToken).ContinueWith(gettingTask =&gt; {
      cancellationToken.ThrowIfCancellationRequested();
      SomeStuffToDO();
      }, TaskScheduler.FromCurrentSynchronizationContext());
  }, TaskScheduler.FromCurrentSynchronizationContext());
  </code></pre>
  
  <p>But, when operation get cancelled, <code>cancellationToken.ThrowIfCancellationRequested();</code> throws an exception. I know that this line should to this stuff. But, in developing environment, the exception causes the visual studio to a break. How can I avoid this?</p>