Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent 0a3336a commit f3a82dcad3a477a2af5b5b2eb46d6b0bf1e7c65c @prabirshrestha prabirshrestha committed Apr 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 README.md
View
@@ -67,6 +67,7 @@ public static Task<string> GetAsyncTaskSample(CancellationToken cancellationToke
.OpenReadTaskAsync(cancellationToken)
.ContinueWith(t =>
{
+ // propagate previous task exceptions which correctly.
if (t.IsFaulted || t.IsCanceled) t.Wait();
using (var stream = t.Result)

0 comments on commit f3a82dc

Please sign in to comment.