Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update README.md

  • Loading branch information...
commit f3a82dcad3a477a2af5b5b2eb46d6b0bf1e7c65c 1 parent 0a3336a
Prabir Shrestha prabirshrestha authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  README.md
1  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)
Please sign in to comment.
Something went wrong with that request. Please try again.