TaskAwaiter<TResult>.GetResult Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Ends the wait for the completion of the asynchronous task.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| NullReferenceException | The TaskAwaiter<TResult> object was not properly initialized. |
| TaskCanceledException | The task was canceled. |
| Exception | The task completed in a Faulted state. |
Show: